Skip to content

Commit

Permalink
Nothing says they have to be in a specific order (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobm authored and nickcharlton committed Jan 26, 2018
1 parent 57e7928 commit b98cde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/orders_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
visit edit_admin_order_path(order)

expected = order.line_items.pluck(:id).map(&:to_s)
expect(find("#order_line_item_ids").value).to eq expected
expect(find("#order_line_item_ids").value).to match_array(expected)
end

def find_option(associated_model, field_id)
Expand Down

0 comments on commit b98cde5

Please sign in to comment.