Fix all Style/BracesAroundHashParameters rubocop issues and remove them from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-25 15:57:05 +02:00
parent d2a06f99bf
commit 2fa92937d2
16 changed files with 47 additions and 65 deletions

View File

@@ -71,19 +71,19 @@ describe GraphqlController, type: :request do
let(:query_string) { "{ proposal(id: #{proposal.id}) { title } }" }
specify "when absent" do
get '/graphql', { query: query_string }
get '/graphql', query: query_string
expect(response).to have_http_status(:ok)
end
specify "when specified as the 'null' string" do
get '/graphql', { query: query_string, variables: 'null' }
get '/graphql', query: query_string, variables: 'null'
expect(response).to have_http_status(:ok)
end
specify "when specified as an empty string" do
get '/graphql', { query: query_string, variables: '' }
get '/graphql', query: query_string, variables: ''
expect(response).to have_http_status(:ok)
end