Sha256: 91b7d7dd05a20f88d81866b0f07b9bb24d18eccaf6d198101264d411640ead39
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
require 'rspec/core/rake_task' desc 'Default: run specs.' task :default => :spec desc "Run specs" RSpec::Core::RakeTask.new do |t| t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. # Put spec opts in a file named .rspec in root end desc "Generate code coverage" RSpec::Core::RakeTask.new(:coverage) do |t| t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. t.rcov = true t.rcov_opts = ['--exclude', '/gems/,/Library/,/usr/,spec,lib/tasks'] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
confstruct-0.2.1 | lib/tasks/rspec.rake |
confstruct-0.2.0 | lib/tasks/rspec.rake |
confstruct-0.1.0 | lib/tasks/rspec.rake |