Skip to content

Commit

Permalink
proper comparison for cucumber version
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Jul 2, 2009
1 parent bf34564 commit a56bc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/cucumber.rake
Expand Up @@ -7,7 +7,7 @@ begin
Cucumber::Rake::Task.new(:features) do |t|
minor = Cucumber::VERSION::MINOR.to_i
tiny = Cucumber::VERSION::TINY.to_i
raise LoadError if (minor < 3) || (minor < 3 && tiny < 9)
raise LoadError if (minor < 3) || (minor == 3 && tiny < 9)
t.fork = true
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
t.feature_pattern = "#{RADIANT_ROOT}/features/**/*.feature"
Expand Down

0 comments on commit a56bc75

Please sign in to comment.