Sha256: 65928e2ff1173d079e7de65e06acdfb0cd7ff03fae6fa7e6416eef1aff740408

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

require "bundler/gem_tasks"

namespace :spec do
  desc "Runs unit tests"
  task :unit do
    system("bundle exec rspec")
  end

  desc "Run all tests"
  task :all do
    Rake.application['spec:unit'].invoke
    raise "Unit testing failed!" unless $?.exitstatus == 0

    system("bundle exec cucumber")
    raise "Integration testing failed!" unless $?.exitstatus == 0
  end
end

task default: 'spec:all'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoulda_routing-0.0.2 Rakefile
shoulda_routing-0.0.1 Rakefile