From 3e73582d427874b9e84369e7b04a091372646055 Mon Sep 17 00:00:00 2001 From: Max Lincoln Date: Tue, 29 Oct 2013 14:41:47 -0300 Subject: [PATCH] rake mock[] and live[]' + end + provider = args[:provider] + sh("export FOG_MOCK=true && bundle exec shindont tests/#{provider}") +end + +desc 'Run live tests against a specific provider' +task :live, :provider do |t, args| + if args.to_a.size != 1 + fail 'USAGE: rake live[]' + end + provider = args[:provider] + sh("export FOG_MOCK=false && bundle exec shindont tests/#{provider}") +end + task :nuke do Fog.providers.each do |provider| next if ['Vmfusion'].include?(provider) @@ -195,4 +213,4 @@ task :coveralls_push_workaround do Coveralls::RakeTask.new Rake::Task["coveralls:push"].invoke end -end \ No newline at end of file +end