This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
forked from oswaldlabs/chef-rundeck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Scott
authored and
Brian Scott
committed
May 18, 2013
1 parent
ecc0766
commit 5940e4f
Showing
3 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') | ||
require 'spec_helper' | ||
|
||
describe "ChefRundeck" do | ||
it "should respond to GET" do | ||
get '/' | ||
describe 'ChefRundeck' do | ||
|
||
it 'should return false' do | ||
ChefRundeck.new | ||
ChefRundeck.config_file = "#{ENV['TRAVIS_BUILD_DIR']}/spec/support/client.rb" | ||
|
||
get '/' | ||
last_response.should be_ok | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +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" | ||
client_key "#{ENV["TRAVIS_BUILD_DIR"]}" + "/spec/support/travis.pem" | ||
node_name "travis" |