Created
August 21, 2014 16:00
-
-
Save jrab89/27b8dacccd09d15f8ebb to your computer and use it in GitHub Desktop.
Is there a cleaner way to do this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Run cucumber tests on each feature file in parallel, exits 0 if they all succeed and 1 otherwise" | |
task :test, :exclude do |task, args| | |
features_to_exclude = args.has_key?(:exclude) ? args[:exclude].split(' ') : [] | |
# actually task here | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment