Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/photo_spec.rb')
-rw-r--r--spec/models/photo_spec.rb2
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)