Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a4a79c3231
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (19 sloc) 0.553 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec)

begin
  require 'cucumber/rake/task'

  Cucumber::Rake::Task.new do |t|
    t.cucumber_opts = %w{--format pretty}
  end

  namespace :cucumber do
    Cucumber::Rake::Task.new(:progress) do |t|
      t.cucumber_opts = %w{--format progress}
    end
  end
rescue LoadError
  puts "Cucumber (or a dependency) not available. Install it with: gem install cucumber"
end

task :default => ['spec', 'cucumber:progress']
Something went wrong with that request. Please try again.