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

[aws|cloud_watch] mark tests pending when mocked

This commit is contained in:
geemus 2011-11-09 10:25:57 -06:00
parent bf844bee65
commit 2dc1bf98c7
2 changed files with 11 additions and 7 deletions

View file

@ -1,5 +1,7 @@
Shindo.tests("AWS::CloudWatch | alarm_data", ['aws', 'cloudwatch']) do Shindo.tests("AWS::CloudWatch | alarm_data", ['aws', 'cloudwatch']) do
pending if Fog.mocking?
tests('success') do tests('success') do
tests("#all").succeeds do tests("#all").succeeds do
Fog::AWS[:cloud_watch].alarm_data.all Fog::AWS[:cloud_watch].alarm_data.all

View file

@ -1,5 +1,7 @@
Shindo.tests("AWS::CloudWatch | alarm_histories", ['aws', 'cloudwatch']) do Shindo.tests("AWS::CloudWatch | alarm_histories", ['aws', 'cloudwatch']) do
pending if Fog.mocking?
tests('success') do tests('success') do
tests("#all").succeeds do tests("#all").succeeds do
Fog::AWS[:cloud_watch].alarm_histories.all Fog::AWS[:cloud_watch].alarm_histories.all