diff options
Diffstat (limited to 'spec/services/files')
-rw-r--r-- | spec/services/files/delete_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/files/update_service_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/files/delete_service_spec.rb b/spec/services/files/delete_service_spec.rb index 309802ce733..974f803f31e 100644 --- a/spec/services/files/delete_service_spec.rb +++ b/spec/services/files/delete_service_spec.rb @@ -56,7 +56,7 @@ describe Files::DeleteService do it "returns a hash with the correct error message and a :error status " do expect { subject.execute } .to raise_error(Files::UpdateService::FileChangedError, - "You are attempting to delete a file that has been previously updated.") + _("You are attempting to delete a file that has been previously updated.")) end end diff --git a/spec/services/files/update_service_spec.rb b/spec/services/files/update_service_spec.rb index 23db35c2418..be30ea142a9 100644 --- a/spec/services/files/update_service_spec.rb +++ b/spec/services/files/update_service_spec.rb @@ -35,7 +35,7 @@ describe Files::UpdateService do it "returns a hash with the correct error message and a :error status " do expect { subject.execute } .to raise_error(Files::UpdateService::FileChangedError, - "You are attempting to update a file that has changed since you started editing it.") + _("You are attempting to update a file that has changed since you started editing it.")) end end |