You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/03/07 12:22:16 UTC
[1/8] git commit: CIMI unit tests: do not set RACK_ENV to development
CIMI unit tests: do not set RACK_ENV to development
TrackedAt: http://tracker.deltacloud.org/patch/5a7e383b3ee6731f5875ac13fc51a560c03bc3c7
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/477a0c29
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/477a0c29
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/477a0c29
Branch: refs/heads/master
Commit: 477a0c29bd5f36236047695b2d4503a73087425d
Parents: d53a126
Author: David Lutterkort <lu...@redhat.com>
Authored: Wed Mar 6 15:55:17 2013 -0800
Committer: Michal fojtik <mf...@redhat.com>
Committed: Thu Mar 7 12:17:15 2013 +0100
----------------------------------------------------------------------
server/tests/cimi/db/db_helper.rb | 1 -
server/tests/cimi/db/entity_test.rb | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/477a0c29/server/tests/cimi/db/db_helper.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/db/db_helper.rb b/server/tests/cimi/db/db_helper.rb
index 84498ec..65cca7b 100644
--- a/server/tests/cimi/db/db_helper.rb
+++ b/server/tests/cimi/db/db_helper.rb
@@ -7,7 +7,6 @@ else
ENV['DATABASE_LOCATION'] = 'sqlite:/'
end
-ENV['RACK_ENV'] = 'development'
ENV['DB_UPGRADE'] = 'true'
require_relative '../../../lib/initializers/database_initialize'
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/477a0c29/server/tests/cimi/db/entity_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/db/entity_test.rb b/server/tests/cimi/db/entity_test.rb
index 44341bb..981de8a 100644
--- a/server/tests/cimi/db/entity_test.rb
+++ b/server/tests/cimi/db/entity_test.rb
@@ -12,7 +12,6 @@ describe "Deltacloud::Database::Entity" do
@provider = Deltacloud::Database::Provider
@entity = Deltacloud::Database::Entity
@baseModel = CIMI::Model::Base
- ENV['RACK_ENV'] = 'development'
@prov = @provider::lookup
end