Sha256: 7180b0cff4214ef2d97b5743fa798360e6638537199bdf5cdb329d04f1a33ee1

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

require "bundler/gem_tasks"

gem 'rspec'
require 'rspec/core/rake_task'

######################################################################

desc "Default => :test"
task :default => :test

desc "Run all tests"
task :test => [ :spec ]

desc "Run specs"
RSpec::Core::RakeTask.new(:spec) 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', 'spec']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asir_json-1.1.11 Rakefile