Joined January 2014
·

Joshua Muheim

Sientia AG
·
Zürich, Switzerland
·
·

Posted to Turnip Rake Task over 1 year ago

This sounds interesting, but I'd like to have a spec:turnip task, so I have done the following:

namespace :spec do
  desc 'Run turnip acceptance tests'
  RSpec::Core::RakeTask.new :turnip do |t|
    t.pattern = './spec{,/*/**}/*.feature'
    t.rspec_opts = ['-r turnip/rspec']
  end
end

But now, how can I automatically let it be run when I do rake spec?

Achievements
49 Karma
0 Total ProTip Views