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/integration/federation/receive_federation_messages_spec.rb')
-rw-r--r--spec/integration/federation/receive_federation_messages_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/integration/federation/receive_federation_messages_spec.rb b/spec/integration/federation/receive_federation_messages_spec.rb
index b53bc97c1..7b29c5738 100644
--- a/spec/integration/federation/receive_federation_messages_spec.rb
+++ b/spec/integration/federation/receive_federation_messages_spec.rb
@@ -55,7 +55,9 @@ describe "Receive federation messages feature" do
it "receives account migration correctly" do
run_migration
expect(AccountMigration.where(old_person: sender.person, new_person: new_user.person)).to exist
- expect(AccountMigration.find_by(old_person: sender.person, new_person: new_user.person)).to be_performed
+ account_migration = AccountMigration.find_by(old_person: sender.person, new_person: new_user.person)
+ expect(account_migration).to be_performed
+ expect(account_migration.remote_photo_path).to eq("https://diaspora.example.tld/uploads/images/")
end
it "doesn't run the same migration for the second time" do