spec/integration/japan_spec.rb in sucker-1.0.0.beta.2 vs spec/integration/japan_spec.rb in sucker-1.0.0.beta.3
- old
+ new
@@ -14,10 +14,10 @@
worker << {
"Operation" => "ItemLookup",
"IdType" => "ASIN",
"ResponseGroup" => ["ItemAttributes", "OfferFull"],
"ItemId" => "482224816X" }
- worker.get.node("Item").first
+ worker.get.find("Item").first
end
it "returns an array of items" do
item.should be_an_instance_of Hash
item["ItemAttributes"]["Binding"].should eql "単行本(ソフトカバー)"