# File lib/rhc/rest/mock.rb, line 704 def initialize(client=nil, carts=['name' => 'fake_geargroup_cart-0.1'], count=1) super({}, client) @cartridges = carts @gears = count.times.map do |i| {'state' => 'started', 'id' => "fakegearid#{i}", 'ssh_url' => "ssh://fakegearid#{i}@fakesshurl.com"} end @gear_profile = 'small' @base_gear_storage = 1 end