spec/integration/japan_spec.rb in sucker-0.7.0 vs spec/integration/japan_spec.rb in sucker-0.7.1
- old
+ new
@@ -17,10 +17,10 @@
end
context "single item" do
before do
@worker << { "ItemId" => "482224816X" }
- @item = @worker.get.to_h("Item").first
+ @item = @worker.get.node("Item").first
end
it "returns an array of items" do
@item.should be_an_instance_of Hash
end