Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 346 Bytes
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
desc "Run specs"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = %w(--color)
end
namespace :spec do
desc "Run specs with output in documentation format"
RSpec::Core::RakeTask.new(:doc) do |t|
t.rspec_opts = ["--color", "--format d"]
end
end