Permalink
Browse files

add Rakefile

  • Loading branch information...
1 parent b6c07ab commit f172b0ba0b449aa42b859f2c73b9f23dfc731e8c Sven Fuchs committed Nov 30, 2011
Showing with 5 additions and 6 deletions.
  1. +5 −6 Rakefile
View
@@ -1,10 +1,9 @@
require 'rake'
-require 'rake/testtask'
+require 'rspec/core/rake_task'
-Rake::TestTask.new do |t|
- t.libs << 'lib'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
+desc 'Run specs'
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = './spec/**/*_spec.rb'
end
-task :default => :test
+task :default => :spec

0 comments on commit f172b0b

Please sign in to comment.