vmc-ng/lib/vmc/spec_helpers.rb in vmc-0.4.0.beta.91 vs vmc-ng/lib/vmc/spec_helpers.rb in vmc-0.4.0.beta.92
- old
+ new
@@ -36,15 +36,15 @@
ary[rand(ary.size)]
end
# cache frameworks for app generation
def frameworks
- @@frameworks ||= client.frameworks(0)
+ @@frameworks ||= client.frameworks(:depth => 0)
end
# cache runtimes for app generation
def runtimes
- @@runtimes ||= client.runtimes(0)
+ @@runtimes ||= client.runtimes(:depth => 0)
end
def with_random_app(space = client.current_space)
with_random_apps(space, 1) do |apps|
yield apps.first