From 9dbba97c7bd4d68f3b1413387217125fc7881f00 Mon Sep 17 00:00:00 2001 From: Steven Wagner Date: Fri, 17 May 2013 10:37:00 -0700 Subject: [PATCH] Modifying stuff to work with Travis. --- spec/spec_helper.rb | 1 + spec/support/client.rb | 1 + 2 files changed, 2 insertions(+) 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"