diff options
Diffstat (limited to 'spec/models/photo_spec.rb')
-rw-r--r-- | spec/models/photo_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/photo_spec.rb b/spec/models/photo_spec.rb index 225d609a8..0b4996506 100644 --- a/spec/models/photo_spec.rb +++ b/spec/models/photo_spec.rb @@ -197,7 +197,7 @@ describe Photo, :type => :model do @saved_photo.destroy - Diaspora::Federation::Receive.photo(federation_photo) + Diaspora::Federation::Receive.perform(federation_photo) new_photo = Photo.find_by(guid: @saved_photo.guid) expect(new_photo.url).to eq(url) |