deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [4/6] git commit: Core: Move 'pp' into test_helper
Date Mon, 23 Jul 2012 09:06:00 GMT
Core: Move 'pp' into test_helper


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/1d8cb172
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/1d8cb172
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/1d8cb172

Branch: refs/heads/master
Commit: 1d8cb1721b916c0e7bc9990aa15a8f7d9b4a8fa5
Parents: 40510dd
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Jul 20 15:38:37 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Jul 20 15:38:37 2012 +0200

----------------------------------------------------------------------
 server/tests/deltacloud/common.rb |    1 -
 server/tests/test_helper.rb       |    4 ++++
 2 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/1d8cb172/server/tests/deltacloud/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/deltacloud/common.rb b/server/tests/deltacloud/common.rb
index 23826ad..728ad57 100644
--- a/server/tests/deltacloud/common.rb
+++ b/server/tests/deltacloud/common.rb
@@ -1,7 +1,6 @@
 require 'logger'
 require 'rack/test'
 require 'nokogiri'
-require 'pp'
 
 require_relative File.join('..', '..', 'lib', 'deltacloud_rack.rb')
 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/1d8cb172/server/tests/test_helper.rb
----------------------------------------------------------------------
diff --git a/server/tests/test_helper.rb b/server/tests/test_helper.rb
index 0f9b64a..5aed571 100644
--- a/server/tests/test_helper.rb
+++ b/server/tests/test_helper.rb
@@ -1,3 +1,7 @@
+require 'pp'
+
+ENV['RACK_ENV'] = 'test'
+
 %x[rake mock:fixtures:reset]
 
 if ENV['COVERAGE']


Mime
View raw message