spec/pet_spec.rb in petfinder-1.0.2 vs spec/pet_spec.rb in petfinder-1.0.3

- old
+ new

@@ -33,6 +33,9 @@ it "should populate multiple pet objects" do pets = Petfinder::Pet.multiple(Nokogiri::XML(fixture_file('pet_list.xml'))) pets.should have(25).items end + it "should return a friendly inspect" do + @pet.inspect.should eq("#<Pet id: '10141994', name: 'Charlie', animal: 'Cat', mix: 'no', sex: 'M'>") + end end