Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.569 kb
require 'rake'
require 'rspec/core/rake_task'
desc 'Run the spec suite'
RSpec::Core::RakeTask.new('spec') {|t|
t.rspec_opts = ['--colour', '--format Fuubar']
}
desc 'Run the acceptance suite'
RSpec::Core::RakeTask.new('acceptance') {|t|
t.pattern = "./spec/acceptance/*.rb"
t.rspec_opts = ['--colour']
}
desc 'Profile the spec suite'
RSpec::Core::RakeTask.new('profile') {|t|
t.rspec_opts = %w[--colour --profile]
}
desc 'Run code coverage'
RSpec::Core::RakeTask.new('rcov') {|t|
t.rcov = true
t.rcov_opts = %w[--exclude spec]
}
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.