Commit aba54cae authored by Valery Sizov's avatar Valery Sizov

Fix spec/models/issue_collection_spec.rb

parent ea843123
...@@ -28,7 +28,7 @@ describe IssueCollection do ...@@ -28,7 +28,7 @@ describe IssueCollection do
end end
it 'returns the issues the user is assigned to' do it 'returns the issues the user is assigned to' do
issue1.assignee = user issue1.assignees << user
expect(collection.updatable_by_user(user)).to eq([issue1]) expect(collection.updatable_by_user(user)).to eq([issue1])
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