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
This commit is contained in:
parent
619bbc23ef
commit
cb71c95e22
7 changed files with 112 additions and 17 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue