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:
parent
cc3e9a0cf4
commit
64341926b4
8 changed files with 17 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue