Commit cd364ec5 authored by Valery Sizov's avatar Valery Sizov

[Multiple issue assignees] fix spec/models/merge_request_spec.rb

parent c72e004d
......@@ -88,7 +88,7 @@ describe MergeRequest, models: true do
end
describe '#assignee_or_author?' do
let(:user) { build(:user, id: 1) }
let(:user) { create(:user) }
it 'returns true for a user that is assigned to a merge request' do
subject.assignee = user
......
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