D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
draper-1.4.0
/
spec
/
dummy
/
lib
/
tasks
/
Filename :
test.rake
back
Copy
require 'rake/testtask' require 'rspec/core/rake_task' Rake::Task[:test].clear Rake::TestTask.new :test do |t| t.libs << "test" t.pattern = "test/**/*_test.rb" end RSpec::Core::RakeTask.new :spec RSpec::Core::RakeTask.new :fast_spec do |t| t.pattern = "fast_spec/**/*_spec.rb" end task :default => [:test, :spec, :fast_spec]