From a1f7f6bfe0fc67e404f5ff95b5db987e29546110 Mon Sep 17 00:00:00 2001 From: geemus Date: Sat, 28 Jul 2012 11:11:00 -0500 Subject: [PATCH] [local|storage] mark tests pending in mock mode --- tests/local/models/file_tests.rb | 5 ++++- tests/local/storage_tests.rb | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/local/models/file_tests.rb b/tests/local/models/file_tests.rb index f4dc5d3d1..7a34c1c20 100644 --- a/tests/local/models/file_tests.rb +++ b/tests/local/models/file_tests.rb @@ -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 \ No newline at end of file +end diff --git a/tests/local/storage_tests.rb b/tests/local/storage_tests.rb index e1755bd0b..dfdc1ecbc 100644 --- a/tests/local/storage_tests.rb +++ b/tests/local/storage_tests.rb @@ -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 \ No newline at end of file +end