1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/brightbox/compute_tests.rb
Paul Thornthwaite b221b97ba6 [brightbox|compute] Helper to get default image from API
* First will look for a configuration value brightbox_default_image
* Second will query the API for latest Ubuntu (ideally LTS)
2012-08-15 15:48:23 +01:00

9 lines
No EOL
214 B
Ruby

Shindo.tests('Fog::Compute::Brightbox::Real', ['brightbox']) do
@bb = Fog::Compute::Brightbox::Real.new({})
tests("#respond_to? :default_image").returns(true) do
@bb.respond_to?(:default_image)
end
end