Permalink
Browse files

Removed a spec example that didn't really make sense. Happy new year.

  • Loading branch information...
1 parent c707288 commit 5bda11eed9d1c401ac7ffbf81933f9424398bbe8 @timriley committed Jan 1, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 spec/models/photo_spec.rb
View
6 spec/models/photo_spec.rb
@@ -281,12 +281,6 @@ def stub_attributes(obj, attrs)
}.should change(@photo, :description).from('previous desc').to(@flickr_photo.description)
end
- it "should update the photo from flickr" do
- @photo.stub!(:save).and_return(true)
- @photo.should_receive(:update_from_flickr)
- Photo.sync_with_flickr(:user_id => 'foo', :tag => 'bar')
- end
-
it "should save the photo" do
@photo.should_receive(:save)
Photo.sync_with_flickr(:user_id => 'foo', :tag => 'bar')

0 comments on commit 5bda11e

Please sign in to comment.