Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 08a3fa066c
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.524 kB
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.ruby_opts = "-I lib:spec"
spec.pattern = 'spec/**/*_spec.rb'
end
task :spec
Cucumber::Rake::Task.new(:features, "Run features") do |t|
t.profile = "default"
end
desc 'Run all specs and cukes'
task :test => ['spec', 'features']
task :lib do
$LOAD_PATH.unshift(File.expand_path("lib", File.dirname(__FILE__)))
end
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.