From 7c8901fbc8a3a27fe0e915608ea2989b64e993c1 Mon Sep 17 00:00:00 2001 From: Sarah Weinstein Date: Wed, 2 Dec 2020 21:31:45 +0000 Subject: [PATCH] Fix Style/RedundantInterpolation error Error: Prefer to_s over string interpolation Authored-by: Sarah Weinstein --- spec/unit/lib/uaa/uaa_client_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/lib/uaa/uaa_client_spec.rb b/spec/unit/lib/uaa/uaa_client_spec.rb index 4a2f672b483..00b8f5a8bdd 100644 --- a/spec/unit/lib/uaa/uaa_client_spec.rb +++ b/spec/unit/lib/uaa/uaa_client_spec.rb @@ -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