Sha256: ff9acd74763e6e1ddd7d468ada89882eff5e8062c25a899a08cca84666318aea

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

desc "Run RSpec code examples (unit test)"
RSpec::Core::RakeTask.new("spec:unit") do |task|
  task.rspec_opts = "--tag ~type:integration"
end

desc "Run RSpec code examples (integration test)"
RSpec::Core::RakeTask.new("spec:integration") do |task|
  task.rspec_opts = "--tag type:integration"
end

task :spec => ["spec:unit", "spec:integration"]

task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
itest5ch-2.0.2 Rakefile
itest5ch-2.0.1 Rakefile
itest5ch-2.0.0 Rakefile
itest5ch-1.0.0 Rakefile