about summary refs log tree commit diff
path: root/spec/controllers/admin/statuses_controller_spec.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-30 00:18:08 +0200
committerGitHub <noreply@github.com>2019-08-30 00:18:08 +0200
commit2848c08953a8555e06791170dbf1090575e05d8a (patch)
tree53e8e98051c24ac4fb32ce5692e241b6a6391de3 /spec/controllers/admin/statuses_controller_spec.rb
parent79725f659d5e9c449df0ff73f9363407a0a064bd (diff)
parent969d04385157175dc9c9f46987976d8fc5771707 (diff)
Merge pull request #1208 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/controllers/admin/statuses_controller_spec.rb')
-rw-r--r--spec/controllers/admin/statuses_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/statuses_controller_spec.rb b/spec/controllers/admin/statuses_controller_spec.rb
index 1a08c10b7..6b06343ef 100644
--- a/spec/controllers/admin/statuses_controller_spec.rb
+++ b/spec/controllers/admin/statuses_controller_spec.rb
@@ -65,7 +65,7 @@ describe Admin::StatusesController do
       it 'removes a status' do
         allow(RemovalWorker).to receive(:perform_async)
         subject.call
-        expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first)
+        expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first, redraft: false)
       end
     end