mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
18 lines
446 B
Ruby
18 lines
446 B
Ruby
require 'bundler'
|
|
Bundler::GemHelper.install_tasks
|
|
|
|
require 'rake/testtask'
|
|
desc 'Run tests on PaperTrail with Test::Unit.'
|
|
Rake::TestTask.new(:test) do |t|
|
|
t.libs << 'lib'
|
|
t.libs << 'test'
|
|
t.pattern = 'test/**/*_test.rb'
|
|
t.verbose = false
|
|
end
|
|
|
|
require 'rspec/core/rake_task'
|
|
desc 'Run PaperTrail specs for the RSpec helper.'
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
desc 'Default: run all available test suites'
|
|
task :default => [:test, :spec]
|