deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1215128 - /deltacloud/trunk/server/tests/common.rb
Date Fri, 16 Dec 2011 13:44:32 GMT
Author: mfojtik
Date: Fri Dec 16 13:44:32 2011
New Revision: 1215128

URL: http://svn.apache.org/viewvc?rev=1215128&view=rev
Log:
Core: Updated rspec to rspec-core in our test suite

Modified:
    deltacloud/trunk/server/tests/common.rb

Modified: deltacloud/trunk/server/tests/common.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/common.rb?rev=1215128&r1=1215127&r2=1215128&view=diff
==============================================================================
--- deltacloud/trunk/server/tests/common.rb (original)
+++ deltacloud/trunk/server/tests/common.rb Fri Dec 16 13:44:32 2011
@@ -20,8 +20,9 @@ $top_srcdir = File::dirname(File::dirnam
 
 require 'rubygems'
 require 'yaml'
+require 'rspec/core'
+require 'rspec/matchers'
 require 'test/unit'
-require 'spec'
 require 'nokogiri'
 require 'json'
 require 'digest/sha1'
@@ -43,8 +44,9 @@ configure :test do
   set :show_exceptions, false
 end
 
-Spec::Runner.configure do |conf|
+RSpec.configure do |conf|
   conf.include Rack::Test::Methods
+  conf.expect_with :rspec
 end
 
 module DeltacloudTestCommon



Mime
View raw message