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 2012/11/30 10:02:49 UTC
git commit: CIMI: Removed require "json" from tests
Updated Branches:
refs/heads/master 1365d40c4 -> e00c00a39
CIMI: Removed require "json" from tests
Requiring JSON cause tests to crash. Switching to pure
JSON fix this problem.
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/e00c00a3
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/e00c00a3
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/e00c00a3
Branch: refs/heads/master
Commit: e00c00a39f478a5f2e71c9d099691d9f204e10c8
Parents: 1365d40
Author: Michal Fojtik <mf...@redhat.com>
Authored: Fri Nov 30 10:01:59 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Fri Nov 30 10:01:59 2012 +0100
----------------------------------------------------------------------
server/tests/cimi/model/collection_spec.rb | 1 -
.../tests/helpers/rack/rack_matrix_params_test.rb | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/e00c00a3/server/tests/cimi/model/collection_spec.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/model/collection_spec.rb b/server/tests/cimi/model/collection_spec.rb
index ed54a44..9e439ca 100644
--- a/server/tests/cimi/model/collection_spec.rb
+++ b/server/tests/cimi/model/collection_spec.rb
@@ -19,7 +19,6 @@ require 'require_relative' if RUBY_VERSION < '1.9'
require_relative '../spec_helper.rb' if require 'minitest/autorun'
require 'nokogiri'
-require 'json'
describe "Collection class" do
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/e00c00a3/server/tests/helpers/rack/rack_matrix_params_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/helpers/rack/rack_matrix_params_test.rb b/server/tests/helpers/rack/rack_matrix_params_test.rb
index 135544b..63b6e9b 100644
--- a/server/tests/helpers/rack/rack_matrix_params_test.rb
+++ b/server/tests/helpers/rack/rack_matrix_params_test.rb
@@ -3,8 +3,6 @@ require 'require_relative' if RUBY_VERSION < '1.9'
require_relative '../../test_helper.rb'
require_relative './common.rb'
-require 'json'
-
class TestMatrixApp < Sinatra::Base
use Rack::MatrixParams
get '/' do