spec/sucker/response_spec.rb in sucker-2.0.0.pre.4 vs spec/sucker/response_spec.rb in sucker-2.0.0.pre.5
- old
+ new
@@ -7,13 +7,13 @@
use_vcr_cassette 'spec/sucker/response', :record => :new_episodes
let(:asins) { ['0816614024', '0143105825'] }
let(:response) do
- request = Sucker.new(
- :locale => :us,
- :key => amazon_key,
- :secret => amazon_secret)
+ request = Request.new(:locale => :us,
+ :key => 'key',
+ :secret => 'secret',
+ :associate_tag => 'tag')
request << {
'Operation' => 'ItemLookup',
'IdType' => 'ASIN',
'ItemId' => asins }
request.get