Closed rrabinovitch closed 3 years ago
GET /api/v1/merchants/:id/items
GET /api/v1/items/:id/merchant
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)
GET /api/v1/merchants/:id/items
returns all items associated with a merchantGET /api/v1/items/:id/merchant
returns the merchant associated with an item