openstreetmap-website/vendor/gems/rspec-1.1.2/stories/resources/helpers/cmdline.rb
2008-01-22 16:39:09 +00:00

9 lines
270 B
Ruby

$:.push File.join(File.dirname(__FILE__), *%w[.. .. .. lib])
require 'spec'
# Uncommenting next line will break the output story (no output!!)
# rspec_options
options = Spec::Runner::OptionParser.parse(
ARGV, $stderr, $stdout
)
Spec::Runner::CommandLine.run(options)