To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorSeller listing search
As an API consumer
I want to search seller listings
Because that has some business value.
- Background
-
- Given
-
the following:
@request = Sucker.new( :key => amazon_key, :secret => amazon_secret, :locale => :us)
- Scenarios
-
- Browse a seller's listings
-
- Given
-
the following:
@request << { :operation => 'SellerListingSearch', :seller_id => 'A2XAZ8JI5FY49I' }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response['SellerListing'].size.should eql 10
- Large inventories do not return any results
-
- Given
-
the following:
@request << { :operation => 'SellerListingSearch', :seller_id => 'A2H6NH4SQYFZ4M' }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response['SellerListing'].size.should eql 0 @response.errors.size.should eql 1 error = @response.errors.first error['Message'].should include 'We did not find any matches'
Last published over 7 years ago by hakanensari.