Skip to content

Commit

Permalink
Fixing unit tests in Hudson
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/incubator/deltacloud/trunk@1090983 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mfojtik committed Apr 11, 2011
1 parent d8be4eb commit 04b19bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion server/tests/common.rb
Expand Up @@ -29,6 +29,8 @@
require 'rack/test'
require 'server'

driver

# Set proper environment variables for running test

ENV['RACK_ENV'] = 'test'
Expand All @@ -41,7 +43,6 @@
set :show_exceptions, false
end


Spec::Runner.configure do |conf|
conf.include Rack::Test::Methods
end
Expand Down
2 changes: 1 addition & 1 deletion server/tests/drivers/rackspace/setup.rb
Expand Up @@ -7,7 +7,7 @@
DeltacloudTestCommon::record!

VCR.config do |c|
c.cassette_library_dir = 'tests/drivers/rackspace/fixtures/'
c.cassette_library_dir = "#{File.dirname(__FILE__)}/../../../tests/drivers/rackspace/fixtures/"
c.stub_with :webmock
c.default_cassette_options = { :record => :none }
end
Expand Down
2 changes: 1 addition & 1 deletion server/tests/drivers/rhevm/setup.rb
Expand Up @@ -7,7 +7,7 @@
DeltacloudTestCommon::record!

VCR.config do |c|
c.cassette_library_dir = 'tests/drivers/rhevm/fixtures/'
c.cassette_library_dir = "#{File.dirname(__FILE__)}/../../../tests/drivers/rhevm/fixtures/"
c.stub_with :webmock
c.default_cassette_options = { :record => :none }
end
Expand Down

0 comments on commit 04b19bf

Please sign in to comment.