Commit ed8c3e2d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove unnecessary reload in test

parent 90ba3a38
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment