Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Load config in test
Browse files Browse the repository at this point in the history
  • Loading branch information
josephholsten committed Aug 15, 2013
1 parent efd6e1a commit 83c2d9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/chef-rundeck_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 83c2d9b

Please sign in to comment.