spec/fassbinder/response_spec.rb in fassbinder-0.0.6 vs spec/fassbinder/response_spec.rb in fassbinder-0.0.7

- old
+ new

@@ -30,14 +30,14 @@ end.to raise_error InvalidResponseError end end describe "#to_a" do - it "returns an array of snapshots" do - snapshots = response.to_a + it "returns an array of books" do + books = response.to_a - snapshots.count.should eql 19 - snapshots.first.should be_a Kosher::Snapshot + books.count.should eql 19 + books.first.should be_a Kosher::Book end end describe "#errors" do it "should return ASINs that are not found" do