Commit b64020de authored by Valery Sizov's avatar Valery Sizov

Satisfy rubocop

parent 1bb32a79
......@@ -26,6 +26,6 @@ class AddRelativePositionToIssues < ActiveRecord::Migration
def change
add_column :issues, :relative_position, :integer
add_index :issues, :relative_position
add_concurrent_index :issues, :relative_position
end
end
......@@ -67,7 +67,7 @@ describe Issues::UpdateService, services: true do
issue.save
end
opts.merge! move_between_iids: [issue1.iid, issue2.iid]
opts[:move_between_iids] = [issue1.iid, issue2.iid]
update_issue(opts)
......
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