spec/zunnit_spec.rb in zunnit-0.0.4 vs spec/zunnit_spec.rb in zunnit-0.1.0

- old
+ new

@@ -5,11 +5,11 @@ # let(zunnit) { Zunnit::Api.new } describe "get" do it "should return related items" do zunnit = Zunnit::Api.new - response = zunnit.get(:related_items, {:item_id=>"20275919"}) - response.should == 200 + response = zunnit.get(:related_items, {:item_id=> "20275919"}) + response[:status].should == 200 end end end