summaryrefslogtreecommitdiff
path: root/spec/services/files/update_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/files/update_service_spec.rb')
-rw-r--r--spec/services/files/update_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/files/update_service_spec.rb b/spec/services/files/update_service_spec.rb
index 16bca66766a..cc950ae6bb3 100644
--- a/spec/services/files/update_service_spec.rb
+++ b/spec/services/files/update_service_spec.rb
@@ -32,8 +32,8 @@ describe Files::UpdateService do
let(:last_commit_sha) { "foo" }
it "returns a hash with the correct error message and a :error status " do
- expect { subject.execute }.
- to raise_error(Files::UpdateService::FileChangedError,
+ expect { subject.execute }
+ .to raise_error(Files::UpdateService::FileChangedError,
"You are attempting to update a file that has changed since you started editing it.")
end
end