Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Completed migration to "Concurrency" instead of "Concurrencies"
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanLacey committed Sep 25, 2013
1 parent 8bdf07d commit b819da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sauce/parallel/test_broker.rb
Expand Up @@ -60,7 +60,7 @@ def self.test_platforms
@@platforms
end

def self.concurrencies
def self.concurrency
response = RestClient.get "#{rest_jobs_url}/#{SAUCE_USERNAME}/limits"
res = JSON.parse(response)["concurrency"]
end
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/parallel_testing.rb
Expand Up @@ -42,7 +42,7 @@

task :features, :files, :concurrency do |t, args|
args.with_defaults({
:concurrency => [Sauce::TestBroker.concurrencies, 20].min,
:concurrency => [Sauce::TestBroker.concurrency, 20].min,
:files => "features"
})

Expand Down

0 comments on commit b819da5

Please sign in to comment.