summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-26 16:10:34 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-26 16:10:34 -0800
commited8c3e2d738312c09e336fb8d549eea7d9cc71b9 (patch)
tree67eed9dd3e3aad7b452dd68b911fb2548d5d9164 /spec
parent90ba3a385cda545a58b3bb7893898bc16e982a73 (diff)
downloadgitlab-ce-ed8c3e2d738312c09e336fb8d549eea7d9cc71b9.tar.gz
Remove unnecessary reload in test
Diffstat (limited to 'spec')
-rw-r--r--spec/services/merge_requests/update_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/merge_requests/update_service_spec.rb b/spec/services/merge_requests/update_service_spec.rb
index 0cd822bcdae..0e60baae2c4 100644
--- a/spec/services/merge_requests/update_service_spec.rb
+++ b/spec/services/merge_requests/update_service_spec.rb
@@ -48,7 +48,7 @@ describe MergeRequests::UpdateService do
end
it 'should create system note about merge_request reassign' do
- note = @merge_request.notes.reload.last
+ note = @merge_request.notes.last
note.note.should include "Reassigned to \@#{user2.username}"
end
end