Thanks, now it makes sense. Regards, Francisco
Zach Dennis wrote: > On Tue, Feb 10, 2009 at 10:27 AM, Francisco Trindade > <li...@ruby-forum.com> wrote: >> task. I followed the advice given on this thread >> >> elements from the cucumber profile. >> >> Am I missing something? >> > > The Cucumber rake task doesn't support profiles very well. There is a > ticket for this: > > http://rspec.lighthouseapp.com/projects/16211/tickets/187-rake-task-support-cucumberyml-profiles > > On the ticket Ben Mabey provided his current solution, which is to > clear out the feature list: > > Cucumber::Rake::Task.new(:selenium) do |t| > ENV['WEBRAT'] = 'selenium' > t.cucumber_opts = "--profile selenium" > t.feature_list = [] > end > > > -- > Zach Dennis > http://www.continuousthinking.com > http://www.mutuallyhuman.com -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users