Applied rubocop.
This commit is contained in:
parent
ba2d22e8a4
commit
7b28ad80a4
1 changed files with 6 additions and 7 deletions
|
@ -255,12 +255,12 @@ class FormControllerTest < ActionDispatch::IntegrationTest
|
||||||
result = JSON.parse(@response.body)
|
result = JSON.parse(@response.body)
|
||||||
token = result['token']
|
token = result['token']
|
||||||
params = {
|
params = {
|
||||||
fingerprint: fingerprint,
|
fingerprint: fingerprint,
|
||||||
token: token,
|
token: token,
|
||||||
name: 'Bob Smith',
|
name: 'Bob Smith',
|
||||||
email: 'discard@znuny.com',
|
email: 'discard@znuny.com',
|
||||||
title: 'test',
|
title: 'test',
|
||||||
body: 'hello'
|
body: 'hello'
|
||||||
}
|
}
|
||||||
|
|
||||||
post '/api/v1/form_submit', params: params.to_json, headers: @headers
|
post '/api/v1/form_submit', params: params.to_json, headers: @headers
|
||||||
|
@ -268,5 +268,4 @@ class FormControllerTest < ActionDispatch::IntegrationTest
|
||||||
assert_response(401)
|
assert_response(401)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue