Fix regression in Rakefile introduced in 70e7ea13

This commit is contained in:
Michael Brodhead 2011-11-30 12:37:10 -08:00
parent db71ac3dec
commit f6a87315ad
1 changed files with 3 additions and 3 deletions

View File

@ -72,11 +72,11 @@ def tests(mocked)
start = Time.now.to_i
threads = []
Thread.main[:results] = []
Fog.providers.each do |provider|
Fog.providers.each do |key, value|
threads << Thread.new do
Thread.main[:results] << {
:provider => provider,
:success => sh("export FOG_MOCK=#{mocked} && bundle exec shindont +#{provider.downcase}")
:provider => value,
:success => sh("export FOG_MOCK=#{mocked} && bundle exec shindont +#{key}")
}
end
end