lib/testrbl.rb in testrbl-0.5.0 vs lib/testrbl.rb in testrbl-0.5.1
- old
+ new
@@ -5,10 +5,10 @@
/^(\s+)(should|test|it)\s+['"](.*)['"]\s+do\s*(?:#.*)?$/,
/^(\s+)(context|describe)\s+['"]?(.*?)['"]?\s+do\s*(?:#.*)?$/,
/^(\s+)def\s+(test_)([a-z_\d]+)\s*(?:#.*)?$/
]
- OPTION_WITH_ARGUMENT = ["-I", "-r", "-n", "-e"]
+ OPTION_WITH_ARGUMENT = ["-I", "-r", "-n", "-e", "--seed"]
INTERPOLATION = /\\\#\\\{.*?\\\}/
def self.run_from_cli(argv)
files, options = partition_argv(argv)
files.concat(changed_files) if options.delete("--changed")