mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|aws] fix compute accessor in tests
This commit is contained in:
parent
a5fd3b9300
commit
6c38a07dd4
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ Shindo.tests("AWS::RDS | security_group", ['aws', 'rds']) do
|
|||
tests("#description").returns('fog test') { @instance.description }
|
||||
|
||||
tests("#authorize_ec2_security_group").succeeds do
|
||||
@ec2_sec_group = Compute[:aws].security_groups.create(:name => 'fog-test', :description => 'fog test')
|
||||
@ec2_sec_group = Fog::Compute[:aws].security_groups.create(:name => 'fog-test', :description => 'fog test')
|
||||
|
||||
@instance.authorize_ec2_security_group(@ec2_sec_group.name)
|
||||
returns('authorizing') do
|
||||
|
|
|
@ -85,7 +85,7 @@ Shindo.tests('AWS::CloudFormation | stack requests', ['aws', 'cloudformation'])
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue