Skip to content

Commit

Permalink
Add missing providers to the all_providers list for testing
Browse files Browse the repository at this point in the history
This allows their tags to be removed from the Shindo tests if unavailable
  • Loading branch information
tokengeek committed Aug 15, 2012
1 parent 3992e81 commit 9272ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def array_differences(array_a, array_b)
end

# check to see which credentials are available and add others to the skipped tags list
all_providers = ['aws', 'bare_metal_cloud', 'bluebox', 'brightbox', 'cloudstack', 'dnsimple', 'dnsmadeeasy', 'dynect', 'ecloud', 'glesys', 'gogrid', 'google', 'hp', 'linode', 'local', 'ninefold', 'openstack', 'rackspace', 'stormondemand', 'voxel', 'xenserver', 'zerigo']
all_providers = ['aws', 'bare_metal_cloud', 'bluebox', 'brightbox', 'clodo', 'cloudstack', 'dnsimple', 'dnsmadeeasy', 'dynect', 'ecloud', 'glesys', 'gogrid', 'google', 'hp', 'ibm', 'joyent', 'linode', 'local', 'ninefold', 'openstack', 'ovirt', 'rackspace', 'stormondemand', 'vcloud', 'voxel', 'vsphere', 'xenserver', 'zerigo']
available_providers = Fog.available_providers.map {|provider| provider.downcase}
for provider in (all_providers - available_providers)
Formatador.display_line("[yellow]Skipping tests for [bold]#{provider}[/] [yellow]due to lacking credentials (add some to '~/.fog' to run them)[/]")
Expand Down

0 comments on commit 9272ac8

Please sign in to comment.