mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix mock toggling in rakefile
This commit is contained in:
parent
617d53dd23
commit
f554243137
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -39,12 +39,12 @@ end
|
||||||
namespace :specs do
|
namespace :specs do
|
||||||
|
|
||||||
task :with_mocking do
|
task :with_mocking do
|
||||||
Fog.mocking = true
|
Fog.mock!
|
||||||
Rake::Task[:spec].invoke
|
Rake::Task[:spec].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
task :without_mocking do
|
task :without_mocking do
|
||||||
Fog.mocking = true
|
Fog.mock!
|
||||||
Rake::Task[:spec].invoke
|
Rake::Task[:spec].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue