diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 15c69e6..56d3445 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -13,6 +13,7 @@ def app ChefRundeck.new + ChefRundeck.configure("#{ENV['TRAVIS_BUILD_DIR']}/spec/support/client.rb") end RSpec.configure do |config| diff --git a/spec/support/client.rb b/spec/support/client.rb index df31d3f..6dcc8fd 100644 --- a/spec/support/client.rb +++ b/spec/support/client.rb @@ -1,4 +1,5 @@ log_level :info log_location STDOUT chef_server_url "https://api.opscode.com/organizations/chef-rundeck" +client_key ENV["TRAVIS_BUILD_DIR"] + "/spec/support/travis.pem" node_name "travis"