fix usage for mock
This commit is contained in:
parent
3e73582d42
commit
8da2651353
2
Rakefile
2
Rakefile
|
@ -68,7 +68,7 @@ end
|
||||||
desc 'Run mocked tests for a specific provider'
|
desc 'Run mocked tests for a specific provider'
|
||||||
task :mock, :provider do |t, args|
|
task :mock, :provider do |t, args|
|
||||||
if args.to_a.size != 1
|
if args.to_a.size != 1
|
||||||
fail 'USAGE: rake live[<provider>]'
|
fail 'USAGE: rake mock[<provider>]'
|
||||||
end
|
end
|
||||||
provider = args[:provider]
|
provider = args[:provider]
|
||||||
sh("export FOG_MOCK=true && bundle exec shindont tests/#{provider}")
|
sh("export FOG_MOCK=true && bundle exec shindont tests/#{provider}")
|
||||||
|
|
Loading…
Reference in New Issue