1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Now sets pending when mocking for all beanstalk model tests.

This commit is contained in:
George Scott 2012-03-16 11:34:18 -07:00
parent cc3e9a0cf4
commit 64341926b4
8 changed files with 17 additions and 2 deletions

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | application", ['aws', 'beanstalk']) do
pending if Fog.mocking?
model_tests(Fog::AWS[:beanstalk].applications, {:name => uniq_id('fog-test-app')}, false)
end

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | applications", ['aws', 'beanstalk']) do
pending if Fog.mocking?
collection_tests(Fog::AWS[:beanstalk].applications, {:name => uniq_id('fog-test-app')}, false)
end
end

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | environment", ['aws', 'beanstalk']) do
pending if Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
@application_name = uniq_id('fog-test-app')
@ -53,7 +55,6 @@ Shindo.tests("Fog::AWS[:beanstalk] | environment", ['aws', 'beanstalk']) do
count = 0
if @instance.version.label == @version_names[1]
puts "new version names match"
@instance.events.each { |event|
if event.message == "Environment update is starting."
count = count + 1

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | environments", ['aws', 'beanstalk']) do
pending if Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
@application_name = uniq_id('fog-test-app')

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | template", ['aws', 'beanstalk']) do
pending if Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
@application_name = uniq_id('fog-test-app')

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | templates", ['aws', 'beanstalk']) do
pending if Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
@application_name = uniq_id('fog-test-app')

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | version", ['aws', 'beanstalk']) do
pending if Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
@application_name = uniq_id('fog-test-app')

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::AWS[:beanstalk] | versions", ['aws', 'beanstalk']) do
pending if Fog.mocking?
@beanstalk = Fog::AWS[:beanstalk]
@application_name = uniq_id('fog-test-app')