Sha256: d89d3e11f804ae2b026a172e58a68dc2862e1ff549958536b89ac6e05ee284ea

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

desc 'Run RSpec examples (all)'

RSpec::Core::RakeTask.new(:spec)

namespace :spec do

  desc 'Run RSpec core examples'

  RSpec::Core::RakeTask.new(:core) do |task|
    task.pattern = "./spec/**/*_spec.rb"
    task.rspec_opts = '--tag core'
  end

  desc 'Run additional RSpec examples (e.g., integration specs)'

  RSpec::Core::RakeTask.new(:more) do |task|
    task.pattern = "./spec/**/*_spec.rb"
    task.rspec_opts = '--tag more'
  end

end

task default: :spec
task test:    :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
patentscope-0.0.1 Rakefile