spec/shelter_spec.rb in petfinder-1.0.2 vs spec/shelter_spec.rb in petfinder-1.0.3
- old
+ new
@@ -14,7 +14,10 @@
it "should populate multiple shelter objects" do
shelters = Petfinder::Shelter.multiple(Nokogiri::XML(fixture_file('shelter_list.xml')))
shelters.should have(25).items
end
+ it "should return a friendly inspect" do
+ @shelter.inspect.should eq("#<Shelter id: 'TX1356', name: 'Lucky Dog Rescue', state: 'TX'>")
+ end
end