Permalink
Browse files

use rspec for the moment

  • Loading branch information...
1 parent 10d789c commit b18640f5e675f0d156f49fb3a19a8924e68fcd4c @copiousfreetime committed Mar 13, 2013
Showing with 11 additions and 5 deletions.
  1. +11 −5 tasks/default.rake
View
@@ -50,13 +50,19 @@ task :develop => "develop:default"
# Minitest - standard TestTask
#------------------------------------------------------------------------------
begin
- require 'rake/testtask'
- Rake::TestTask.new( :test ) do |t|
- t.ruby_opts = %w[ -w -rubygems ]
- t.libs = %w[ lib spec ]
- t.pattern = "spec/**/*_spec.rb"
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new( :test ) do |t|
+ t.ruby_opts = %w[ -w ]
+ t.rspec_opts = %w[ --color --format documentation ]
end
+# require 'rake/testtask'
+# Rake::TestTask.new( :test ) do |t|
+# t.ruby_opts = %w[ -w -rubygems ]
+# t.libs = %w[ lib spec ]
+# t.pattern = "spec/**/*_spec.rb"
+# end
+#
task :test_requirements
task :test => :test_requirements
task :default => :test

0 comments on commit b18640f

Please sign in to comment.