tests/aws/requests/cloud_formation/stack_tests.rb in fog-0.9.0 vs tests/aws/requests/cloud_formation/stack_tests.rb in fog-0.10.0
- old
+ new
@@ -83,10 +83,10 @@
tests('success') do
unless Fog.mocking?
@stack_name = 'fogstack' << Time.now.to_i.to_s
- @keypair = Compute[:aws].key_pairs.create(:name => 'cloudformation')
+ @keypair = Fog::Compute[:aws].key_pairs.create(:name => 'cloudformation')
@template_url = 'https://s3.amazonaws.com/cloudformation-templates-us-east-1/EC2InstanceSample-1.0.0.template'
end
tests("validate_template('TemplateURL' => '#{@template_url}')").formats(@validate_template_format) do
pending if Fog.mocking?