Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 7c8901f

Browse files
committed
Fix Style/RedundantInterpolation error
Error: Prefer to_s over string interpolation Authored-by: Sarah Weinstein <sweinstein@pivotal.io>
1 parent 2e8fab8 commit 7c8901f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/unit/lib/uaa/uaa_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ module VCAP::CloudController
318318
let(:user_ids) { (0...300).to_a }
319319
let(:actual_users) do
320320
user_ids.map do |id|
321-
{ 'id' => "#{id}", 'origin' => 'uaa', 'username' => "user_#{id}" }
321+
{ 'id' => id.to_s, 'origin' => 'uaa', 'username' => "user_#{id}" }
322322
end
323323
end
324324
let(:response_body1) do

0 commit comments

Comments
 (0)