[local|storage] mark tests pending in mock mode

This commit is contained in:
geemus 2012-07-28 11:11:00 -05:00
parent 48ed09790c
commit a1f7f6bfe0
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,7 @@
Shindo.tests('Storage[:local] | file', [:local]) do
pending if Fog.mocking?
before do
@options = { :local_root => '~/.fog' }
end
@ -37,4 +40,4 @@ Shindo.tests('Storage[:local] | file', [:local]) do
file.public_url
end
end
end
end

View File

@ -1,4 +1,7 @@
Shindo.tests('Local | storage') do
pending if Fog.mocking?
before do
@options = { :local_root => "~/.fog" }
end
@ -34,4 +37,4 @@ Shindo.tests('Local | storage') do
Fog::Storage::Local.new(@options).endpoint
end
end
end
end