diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-27 03:10:34 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-27 03:10:34 +0300 |
commit | ed8c3e2d738312c09e336fb8d549eea7d9cc71b9 (patch) | |
tree | 67eed9dd3e3aad7b452dd68b911fb2548d5d9164 | |
parent | 90ba3a385cda545a58b3bb7893898bc16e982a73 (diff) |
Remove unnecessary reload in test
-rw-r--r-- | spec/services/merge_requests/update_service_spec.rb | 2 |
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 |