Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 6a230bc180
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (17 sloc) 0.413 kB
# encoding: utf-8
require 'rubygems'
require 'bundler'
Bundler.setup(:testing)
require 'cucumber/rake/task'
def darwin?
os=%x[uname -s]
"Darwin" === os
end
Cucumber::Rake::Task.new do |t|
opts = defined?(JRUBY_VERSION) ? %w{--tags ~@jruby} : []
opts += %w{--tags ~@fails-on-darwin} if darwin?
t.cucumber_opts = opts
end
desc "Run Cucumber features"
task :test => [:cucumber]
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.