lib/qunited/application.rb in qunited-0.4.4 vs lib/qunited/application.rb in qunited-0.5.0

- old
+ new

@@ -52,9 +52,14 @@ names_and_drivers = Hash[drivers.map { |d| d.to_s.downcase }.zip(drivers)] driver = names_and_drivers[name.downcase] raise UsageError, "Invalid driver specified: #{name}\n#{valid_drivers_string}" unless driver options[:driver] = driver end + + opts.on('--fixtures [FILES]', 'Specify some files to include as html before running the tests') do |files| + options[:fixture_files] = files.split(',') + end + opts.on_tail('-h', '--help', 'Show this message') do puts opts exit end opts.on_tail('--version', 'Print the QUnited version') do