spec/integration/japan_spec.rb in sucker-0.5.0 vs spec/integration/japan_spec.rb in sucker-0.6.0
- old
+ new
@@ -16,10 +16,10 @@
end
context "single item" do
before do
@worker << { "ItemId" => "0816614024" }
- @item = @worker.get.to_h["Items"]["Item"]
+ @item = @worker.get.to_h["ItemLookupResponse"]["Items"]["Item"]
end
it "returns an array of items" do
@item.should be_an_instance_of Hash
end