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

25 lines (19 sloc) 0.615 kb
require "bundler/setup"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
task :default => :spec
task :spec => %w(spec:units spec:functionals)
namespace :spec do
desc "Run RSpec specs with code coverate analysis"
RSpec::Core::RakeTask.new(:cov) do |spec|
spec.rspec_opts = "--format nested --format SpecCoverage"
end
desc "Run RSpec unit specs"
RSpec::Core::RakeTask.new(:units) do |spec|
spec.pattern = "spec/unit/**/*_spec.rb"
end
desc "Run RSpec functional specs"
RSpec::Core::RakeTask.new(:functionals) do |spec|
spec.pattern = "spec/functional/**/*_spec.rb"
end
end
Jump to Line
Something went wrong with that request. Please try again.