Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rake now runs specs

  • Loading branch information...
commit 6da3aac21b0ca5fce6ca329e8f303d94287b5a3a 1 parent 280b3ba
@stanislaw stanislaw authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 Rakefile
View
12 Rakefile
@@ -29,14 +29,14 @@ Jeweler::Tasks.new do |gem|
end
Jeweler::RubygemsDotOrgTasks.new
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
+
+require 'rspec/core'
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = FileList['spec/**/*_spec.rb']
end
-task :default => :test
+task :default => :spec
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
Please sign in to comment.
Something went wrong with that request. Please try again.