From 83c2d9b6558f02877b5a86b1ff8419b3d3b118a5 Mon Sep 17 00:00:00 2001 From: Joseph Anthony Pasquale Holsten Date: Thu, 15 Aug 2013 23:36:09 +0000 Subject: [PATCH] Load config in test --- spec/chef-rundeck_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/chef-rundeck_spec.rb b/spec/chef-rundeck_spec.rb index 5b55c65..abe90ac 100644 --- a/spec/chef-rundeck_spec.rb +++ b/spec/chef-rundeck_spec.rb @@ -1,8 +1,10 @@ require 'spec_helper' describe 'ChefRundeck' do - ChefRundeck.config_file = "#{ENV['TRAVIS_BUILD_DIR']}/spec/support/client.rb" it 'should return false' do + ChefRundeck.config_file = "#{ENV['TRAVIS_BUILD_DIR']}/spec/support/client.rb" + ChefRundeck.configure + get '/' last_response.should be_ok end