Commit 72fa451d authored by Valery Sizov's avatar Valery Sizov

fix rubocop

parent d72b7746
......@@ -35,8 +35,8 @@ describe "Issue", elastic: true do
expected_hash = issue.attributes.extract!('id', 'iid', 'title', 'description', 'created_at',
'updated_at', 'state', 'project_id', 'author_id')
expected_hash['project'] = {"id" => project.id}
expected_hash['author'] = {"id" => issue.author_id}
expected_hash['project'] = { "id" => project.id }
expected_hash['author'] = { "id" => issue.author_id }
expected_hash['updated_at_sort'] = issue.updated_at
expect(issue.as_indexed_json).to eq(expected_hash)
......
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