rrabinovitch / rails_engine_rr

ReST API for sales data
0 stars 0 forks source link

Set up merchants <> items relationships endpoints #6

Closed rrabinovitch closed 3 years ago

rrabinovitch commented 3 years ago
rrabinovitch commented 3 years ago

See if there's a better way to write this expectation:

expect(merchant_items_json[:data].none? { |item| item[:id] == diff_merchant_item.id }).to eq(true)