Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6a02c8220e
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.596 kb
require 'rubygems'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = %w(--no-colour --format progress)
end
namespace :spec do
desc 'Run RSpec code examples in specdoc mode'
RSpec::Core::RakeTask.new(:doc) do |t|
t.rspec_opts = %w(--backtrace --colour --format doc)
end
desc 'Run RSpec code examples with rcov'
RSpec::Core::RakeTask.new(:rcov) do |t|
t.rcov = true
t.rcov_opts = %w(--text-report --exclude /gems/,/Library/,/usr/,.bundle,spec)
t.rspec_opts = %w(--no-colour --format progress)
end
end
task :default => [:spec]
Jump to Line
Something went wrong with that request. Please try again.