Add spec task
This commit is contained in:
parent
9212ba104a
commit
bd53cbaa0e
7
Rakefile
7
Rakefile
@ -1,3 +1,10 @@
|
|||||||
|
require 'spec/rake/spectask'
|
||||||
|
|
||||||
|
desc "Run specs"
|
||||||
|
Spec::Rake::SpecTask.new(:spec) do |t|
|
||||||
|
t.spec_files = FileList["spec/**/*.rb"]
|
||||||
|
end
|
||||||
|
|
||||||
desc "Run tests"
|
desc "Run tests"
|
||||||
task :test do
|
task :test do
|
||||||
Dir['test/**/*_test.rb'].each { |file| require file }
|
Dir['test/**/*_test.rb'].each { |file| require file }
|
||||||
|
Loading…
Reference in New Issue
Block a user