about summary refs log tree commit diff
path: root/spec/controllers/api/v1
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-30 23:08:29 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-30 23:08:29 +0200
commitb36197c307b4101511c6b8e653eca78f26e33ec4 (patch)
tree84f235d675d0acaec8bd898650106c6c6cc94d67 /spec/controllers/api/v1
parent492224b93fc11f1c0bc127ede8376bf243925caa (diff)
Fix tests, update goldfinger to catch XML errors
Diffstat (limited to 'spec/controllers/api/v1')
-rw-r--r--spec/controllers/api/v1/apps_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/api/v1/apps_controller_spec.rb b/spec/controllers/api/v1/apps_controller_spec.rb
index 20a0755ff..1ad9d6383 100644
--- a/spec/controllers/api/v1/apps_controller_spec.rb
+++ b/spec/controllers/api/v1/apps_controller_spec.rb
@@ -5,7 +5,7 @@ RSpec.describe Api::V1::AppsController, type: :controller do
 
   describe 'POST #create' do
     before do
-      post :create, params: { name: 'Test app', redirect_uri: 'urn:ietf:wg:oauth:2.0:oob' }
+      post :create, params: { client_name: 'Test app', redirect_uris: 'urn:ietf:wg:oauth:2.0:oob' }
     end
 
     it 'returns http success' do