[beanstalk] avoid one remaining error with mocked tests

This commit is contained in:
geemus 2012-03-19 17:29:08 -05:00
parent f0ef3b12f6
commit e32a5e018a
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@ Shindo.tests('AWS::ElasticBeanstalk | application_tests', ['aws', 'beanstalk'])
prefix + time
end
@beanstalk = Fog::AWS[:beanstalk]
unless Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
end
@test_description = "A unique description."
@test_app_name = unique_name("fog-test-app-")