diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-14 20:30:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-14 20:30:12 +0200 |
commit | 91c71471ab41bb9af673daf6dde50159d0bfde18 (patch) | |
tree | b43cb2de67555be82be19842332c1dbba64bc3bf /spec/controllers/settings | |
parent | 98eacb223878e51e5e9900ae09bee407d5ca2648 (diff) |
Fix account delete form not accepting password, update suspended (#3745)
account before removing content for quicker feedback to end-users
Diffstat (limited to 'spec/controllers/settings')
-rw-r--r-- | spec/controllers/settings/deletes_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/settings/deletes_controller_spec.rb b/spec/controllers/settings/deletes_controller_spec.rb index c9e163261..b9c7c3068 100644 --- a/spec/controllers/settings/deletes_controller_spec.rb +++ b/spec/controllers/settings/deletes_controller_spec.rb @@ -35,7 +35,7 @@ describe Settings::DeletesController do context 'with correct password' do before do - delete :destroy, params: { password: 'petsmoldoggos' } + delete :destroy, params: { form_delete_confirmation: { password: 'petsmoldoggos' } } end it 'redirects to sign in page' do @@ -53,7 +53,7 @@ describe Settings::DeletesController do context 'with incorrect password' do before do - delete :destroy, params: { password: 'blaze420' } + delete :destroy, params: { form_delete_confirmation: { password: 'blaze420' } } end it 'redirects back to confirmation page' do |