Skip to content

Commit

Permalink
Fix Style/RedundantInterpolation error
Browse files Browse the repository at this point in the history
Error: Prefer to_s over string interpolation

Authored-by: Sarah Weinstein <[email protected]>
  • Loading branch information
sweinstein22 committed Dec 2, 2020
1 parent 2e8fab8 commit 7c8901f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/lib/uaa/uaa_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ module VCAP::CloudController
let(:user_ids) { (0...300).to_a }
let(:actual_users) do
user_ids.map do |id|
{ 'id' => "#{id}", 'origin' => 'uaa', 'username' => "user_#{id}" }
{ 'id' => id.to_s, 'origin' => 'uaa', 'username' => "user_#{id}" }
end
end
let(:response_body1) do
Expand Down

0 comments on commit 7c8901f

Please sign in to comment.