summaryrefslogtreecommitdiff
path: root/spec/serializers/commit_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/commit_entity_spec.rb')
-rw-r--r--spec/serializers/commit_entity_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/commit_entity_spec.rb b/spec/serializers/commit_entity_spec.rb
index 0333d73b5b5..895aeb30035 100644
--- a/spec/serializers/commit_entity_spec.rb
+++ b/spec/serializers/commit_entity_spec.rb
@@ -42,8 +42,8 @@ describe CommitEntity do
end
it 'needs to receive project in the request' do
- expect(request).to receive(:project)
- .and_return(project)
+ expect(request).to receive(:project).
+ and_return(project)
subject
end