tests/bluebox/helper.rb in fog-0.2.30 vs tests/bluebox/helper.rb in fog-0.3.0

- old
+ new

@@ -4,23 +4,27 @@ @@connections ||= Hash.new do |hash, key| credentials = Fog.credentials.reject do |k,v| ![:bluebox_api_key, :bluebox_customer_id].include?(k) end hash[key] = case key - when :blocks - Fog::Bluebox.new(credentials) + when :compute + Fog::Bluebox::Compute.new(credentials) end end @@connections[service] end - module Formats + module Compute - PRODUCT = { - 'cost' => Float, - 'description' => String, - 'id' => String - } + module Formats + PRODUCT = { + 'cost' => Float, + 'description' => String, + 'id' => String + } + + end + end -end \ No newline at end of file +end