Sha256: 49098dea7a877dbd76460d5a306ae4391e75ad9f748c651052ab99be9cde5f13

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

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

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

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

2 entries across 2 versions & 1 rubygems

Version Path
rambulance-0.1.2 Rakefile
rambulance-0.1.1 Rakefile