]> cat aescling's git repositories - mastodon.git/commitdiff
Fix tests, update goldfinger to catch XML errors
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 30 Sep 2016 21:08:29 +0000 (23:08 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 30 Sep 2016 21:08:29 +0000 (23:08 +0200)
Gemfile.lock
spec/controllers/api/v1/apps_controller_spec.rb

index dee1213a5536ca244e87b598b5a7f5cd0366de72..a4d87124fac75099ca4d6e658a8dfd5b0dda2284 100644 (file)
@@ -106,7 +106,7 @@ GEM
       ruby-progressbar (~> 1.4)
     globalid (0.3.7)
       activesupport (>= 4.1.0)
-    goldfinger (1.0.4)
+    goldfinger (1.0.5)
       addressable (~> 2.4)
       http (~> 2.0)
       nokogiri (~> 1.6)
@@ -127,7 +127,7 @@ GEM
       http-cookie (~> 1.0)
       http-form_data (~> 1.0.1)
       http_parser.rb (~> 0.6.0)
-    http-cookie (1.0.2)
+    http-cookie (1.0.3)
       domain_name (~> 0.5)
     http-form_data (1.0.1)
     http_parser.rb (0.6.0)
index 20a0755ffbb8d1f4cfb9b63665549825e10e63be..1ad9d63831d7782ea21770b64a2b9974d93f4a13 100644 (file)
@@ -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