Sha256: e2e726c43a04a3b1cb811ca945eb1ff7c072b7c682384eb6a8f73fc4b758d874

Contents?: true

Size: 403 Bytes

Versions: 10

Compression:

Stored size: 403 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.
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
confstruct-1.1.0 lib/tasks/rspec.rake
confstruct-1.0.2 lib/tasks/rspec.rake
confstruct-1.0.1 lib/tasks/rspec.rake
confstruct-0.2.7 lib/tasks/rspec.rake
confstruct-0.2.6 lib/tasks/rspec.rake
confstruct-0.2.5 lib/tasks/rspec.rake
calc-nik-0.0.3 Rakefile
confstruct-0.2.4 lib/tasks/rspec.rake
confstruct-0.2.3 lib/tasks/rspec.rake
confstruct-0.2.2 lib/tasks/rspec.rake