about summary refs log tree commit diff
path: root/spec/controllers/settings/exports
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-04-03 18:17:43 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-04-03 18:17:43 +0200
commitd4882aa64a7a483ec30ca61a507c2a6f5d3294f5 (patch)
tree4b72c4c44feafa772ba322b0a46f3eb524297138 /spec/controllers/settings/exports
parentdaab45d4ae000a208f251ce96334df47d894dba3 (diff)
Export and import `hide_notifications` alongside user mutes (#10335)
* Export hide_notifications along with user mutes

* Import hide_notifications along with muted users list

* Add headers for CSV exports
Diffstat (limited to 'spec/controllers/settings/exports')
-rw-r--r--spec/controllers/settings/exports/muted_accounts_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/settings/exports/muted_accounts_controller_spec.rb b/spec/controllers/settings/exports/muted_accounts_controller_spec.rb
index f42d7881e..642f0a9b8 100644
--- a/spec/controllers/settings/exports/muted_accounts_controller_spec.rb
+++ b/spec/controllers/settings/exports/muted_accounts_controller_spec.rb
@@ -11,7 +11,7 @@ describe Settings::Exports::MutedAccountsController do
       sign_in user, scope: :user
       get :index, format: :csv
 
-      expect(response.body).to eq "username@domain\n"
+      expect(response.body).to eq "Account address,Hide notifications\nusername@domain,true\n"
     end
   end
 end