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