From b36197c307b4101511c6b8e653eca78f26e33ec4 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 30 Sep 2016 23:08:29 +0200 Subject: [PATCH] Fix tests, update goldfinger to catch XML errors --- Gemfile.lock | 4 ++-- spec/controllers/api/v1/apps_controller_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index dee1213a5..a4d87124f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) 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