Sha256: 0365c987f0660cc907d126a059e0505216086e738860eb7753a50f95cf1efeba

Contents?: true

Size: 525 Bytes

Versions: 3

Compression:

Stored size: 525 Bytes

Contents

# encoding: utf-8
require "bundler/gem_tasks"
require "rspec/core"
require "rspec/core/rake_task"

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

task default: "spec:all"

namespace :spec do
  desc "Run Tests with the default exceptions app"
  task :default do
    sh "bundle exec rake -t spec"
  end

  desc "Run Tests with a custom exceptions app"
  task :custom do
    sh "bundle exec rake -t spec CUSTOM_EXCEPTIONS_APP=1"
  end

  desc "Run tests with both of the default and custom apps"
  task(:all).enhance(%w(default custom))
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rambulance-0.3.1 Rakefile
rambulance-0.3.0 Rakefile
rambulance-0.2.0 Rakefile