deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1235277 - in /deltacloud/trunk/client: Rakefile deltacloud-client.gemspec
Date Tue, 24 Jan 2012 14:42:57 GMT
Author: mfojtik
Date: Tue Jan 24 14:42:56 2012
New Revision: 1235277

URL: http://svn.apache.org/viewvc?rev=1235277&view=rev
Log:
Client: Updated rspec in client to 2.0

Modified:
    deltacloud/trunk/client/Rakefile
    deltacloud/trunk/client/deltacloud-client.gemspec

Modified: deltacloud/trunk/client/Rakefile
URL: http://svn.apache.org/viewvc/deltacloud/trunk/client/Rakefile?rev=1235277&r1=1235276&r2=1235277&view=diff
==============================================================================
--- deltacloud/trunk/client/Rakefile (original)
+++ deltacloud/trunk/client/Rakefile Tue Jan 24 14:42:56 2012
@@ -41,10 +41,11 @@ rescue
 end
 
 if available?('rspec')
-  require 'spec/rake/spectask'
+  require 'rspec/core/rake_task'
   desc "Run all examples"
-  Spec::Rake::SpecTask.new('spec') do |t|
-    t.spec_files = FileList['specs/**/*_spec.rb']
+  RSpec::Core::RakeTask.new('spec') do |t|
+    t.pattern = FileList['specs/**/*_spec.rb']
+    t.rspec_opts = [ "--format", "nested", "--color"]
   end
 end
 

Modified: deltacloud/trunk/client/deltacloud-client.gemspec
URL: http://svn.apache.org/viewvc/deltacloud/trunk/client/deltacloud-client.gemspec?rev=1235277&r1=1235276&r2=1235277&view=diff
==============================================================================
--- deltacloud/trunk/client/deltacloud-client.gemspec (original)
+++ deltacloud/trunk/client/deltacloud-client.gemspec Tue Jan 24 14:42:56 2012
@@ -33,5 +33,5 @@ Gem::Specification.new do |s|
 
   s.add_dependency('rest-client', '>= 1.6.1')
   s.add_dependency('nokogiri', '>= 1.4.3')
-  s.add_development_dependency('rspec', '>= 1.3.0')
+  s.add_development_dependency('rspec', '>= 2.0.0')
 end



Mime
View raw message