require File.join(File.dirname(__FILE__), '..', 'app.rb')

require 'sinatra'
require 'rack/test'

RSpec.configure do |conf|
  conf.include Rack::Test::Methods
end



require File.join(File.dirname(__FILE__), '..', 'app.rb')

require 'sinatra'
require 'rack/test'

Sinatra::Base.set :base_url, 'http://localhost:9393/'
Sinatra::Base.set :build_list, './build_list.json'
Sinatra::Base.set :aws_access_key_id, ''
Sinatra::Base.set :aws_secret_access_key, ''
Sinatra::Base.set :aws_bucket, 'opscode-omnitruck-test'

RSpec.configure do |conf|
  conf.include Rack::Test::Methods
end



Add configuration values to spec helper so tests can run out of the box
Add configuration values to spec helper so tests can run out of the box

Normally config values are loaded from config/config.yml, which would
require this to be checked in. But, we manage that file with chef.
This change allows the spec tests to be automated and those new to this
project to not get hung up on not having the config file for tests.
