Skip to content

Commit

Permalink
Prefer single-quoted strings when you don't need string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jul 1, 2016
1 parent ae90e47 commit b5df534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/oauth2/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
stub.post('/redirect') { |env| [303, {'Content-Type' => 'text/plain', 'location' => '/reflect'}, ''] }
stub.get('/error') { |env| [500, {'Content-Type' => 'text/plain'}, 'unknown error'] }
stub.get('/empty_get') { |env| [204, {}, nil] }
stub.get('/different_encoding') { |env| [500, {'Content-Type' => 'application/json'}, NKF.nkf('-We', MultiJson.encode(:error => error_value, :error_description => "∞"))] }
stub.get('/different_encoding') { |env| [500, {'Content-Type' => 'application/json'}, NKF.nkf('-We', MultiJson.encode(:error => error_value, :error_description => '∞'))] }
end
end
end
Expand Down

0 comments on commit b5df534

Please sign in to comment.