From 7b28ad80a4db2725a6b4b63e82ac9afb8e456a9c Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 10 Oct 2017 16:37:27 +0200 Subject: [PATCH] Applied rubocop. --- test/controllers/form_controller_test.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test/controllers/form_controller_test.rb b/test/controllers/form_controller_test.rb index cefcb5cca..48ae47081 100644 --- a/test/controllers/form_controller_test.rb +++ b/test/controllers/form_controller_test.rb @@ -255,12 +255,12 @@ class FormControllerTest < ActionDispatch::IntegrationTest result = JSON.parse(@response.body) token = result['token'] params = { - fingerprint: fingerprint, - token: token, - name: 'Bob Smith', - email: 'discard@znuny.com', - title: 'test', - body: 'hello' + fingerprint: fingerprint, + token: token, + name: 'Bob Smith', + email: 'discard@znuny.com', + title: 'test', + body: 'hello' } post '/api/v1/form_submit', params: params.to_json, headers: @headers @@ -268,5 +268,4 @@ class FormControllerTest < ActionDispatch::IntegrationTest assert_response(401) end - end