spec/integration/twenty_items_spec.rb in sucker-1.0.0.beta.2 vs spec/integration/twenty_items_spec.rb in sucker-1.0.0.beta.3
- old
+ new
@@ -29,10 +29,10 @@
# Push twenty ASINs to worker
worker << {
"ItemLookup.1.ItemId" => asins[0, 10],
"ItemLookup.2.ItemId" => asins[10, 10] }
- worker.get.node("Item")
+ worker.get.find("Item")
end
it "returns 20 items" do
items.count.should eql 20
items.map { |item| item["ASIN"] }.should eql asins