diff options
author | ThibG <thib@sitedethib.com> | 2019-04-08 07:28:27 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-08 07:28:27 +0200 |
commit | cb71c95e2292730befb8e12cf3b05d09d3e7443b (patch) | |
tree | b9fb7713050f3a898c9b3358d017093a09abf7ae /spec/models | |
parent | 619bbc23ef15ab32065dda67b461abfe6a71efe8 (diff) |
Export and import show_reblogs together with following list (#10495)
* Refactor imports * Export show_reblogs when exporting list of followed users * Add support for importing show_reblogs with following collection * Fix tests
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/export_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/models/export_spec.rb b/spec/models/export_spec.rb index 0553f4098..4e6b824bb 100644 --- a/spec/models/export_spec.rb +++ b/spec/models/export_spec.rb @@ -32,10 +32,11 @@ describe Export do target_accounts.each(&account.method(:follow!)) export = Export.new(account).to_following_accounts_csv - results = export.strip.split + results = export.strip.split("\n") - expect(results.size).to eq 2 - expect(results.first).to eq 'one@local.host' + expect(results.size).to eq 3 + expect(results.first).to eq 'Account address,Show boosts' + expect(results.second).to eq 'one@local.host,true' end end |