Commit 181e42bba25fd81a9c3a29bb12ef4ea7a60fea8d
1 parent
a8e44650
Exists in
master
and in
28 other branches
Support older (as in Debian stable) rake versions
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
lib/tasks/cucumber.rake
lib/tasks/test.rake
1 | -Rake::Task[:test].clear | |
1 | +t = Rake::Task[:test] | |
2 | +if t.respond_to?(:clear) | |
3 | + t.clear | |
4 | +else | |
5 | + t.prerequisites.clear | |
6 | + t.instance_variable_get('@actions').clear | |
7 | +end | |
2 | 8 | |
3 | 9 | task :test do |
4 | 10 | errors = %w(test:units test:functionals test:integration cucumber selenium).collect do |task| | ... | ... |