about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-08-23 00:59:35 +0200
committerGitHub <noreply@github.com>2017-08-23 00:59:35 +0200
commitc1b086a538d128e9fbceab4fc6686611a4f2710f (patch)
treec57a587e6e09c9f13aea58009854427899209695 /spec/controllers
parent696c2c6f2f3338df121cf17389478da9ecab11af (diff)
Fix up the applications area (#4664)
- Section it into "Development" area
- Improve UI of application form, index, and details
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/settings/applications_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/settings/applications_controller_spec.rb b/spec/controllers/settings/applications_controller_spec.rb
index fa27e6ec6..7902a4334 100644
--- a/spec/controllers/settings/applications_controller_spec.rb
+++ b/spec/controllers/settings/applications_controller_spec.rb
@@ -156,7 +156,7 @@ describe Settings::ApplicationsController do
     let(:token) { user.token_for_app(app) }
     before do
       expect(token).to_not be_nil
-      put :regenerate, params: { application_id: app.id }
+      post :regenerate, params: { id: app.id }
     end
 
     it 'should create new token' do