mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
8bb3e60aea
Fog::Compute[:openstack].images.all returns nil without the patch. The patch should bring the images collection behaviour in-line with other collections I think. The added test should expose the issue.
14 lines
259 B
Ruby
14 lines
259 B
Ruby
Shindo.tests("Fog::Compute[:openstack] | images collection", ['openstack']) do
|
|
|
|
tests('success') do
|
|
|
|
tests('#all').succeeds do
|
|
fog = Fog::Compute[:openstack]
|
|
test 'not nil' do
|
|
fog.images.all.is_a? Array
|
|
end
|
|
end
|
|
|
|
end
|
|
end
|
|
|