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