Sha256: 8a0b02911fd70b08b7d5b1992a6bf98dcb23f717eb3100b31811080104fd88d9

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => [:spec, :integration]

desc "Run specs"
RSpec::Core::RakeTask.new 

RSpec::Core::RakeTask.new(:integration) do |t|
  t.pattern = 'spec_integration/*_spec.rb'
end

desc "Generate code coverage"
RSpec::Core::RakeTask.new(:coverage) do |t|
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec']
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rsemantic-0.3.0 lib/tasks/rspec.rake
rsemantic-0.2.1 lib/tasks/rspec.rake
rsemantic-0.2.0 lib/tasks/rspec.rake