aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2011-02-24 15:10:14 +0000
committerLouise Crow <louise.crow@gmail.com>2011-02-24 15:10:14 +0000
commit08a64f9e3139851fd65c7ba6969ee590b4afea6a (patch)
tree20c77e796002dfa95b2af3ba00ebd2f691c02fc7 /vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb
parent3757bb52c0aa86b779b00428d7ebe35b30cea1ee (diff)
Adding rspec gem.
Diffstat (limited to 'vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb')
-rw-r--r--vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb b/vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb
new file mode 100644
index 000000000..0e337579b
--- /dev/null
+++ b/vendor/gems/rspec-1.3.1/resources/helpers/cmdline.rb
@@ -0,0 +1,8 @@
+require 'spec'
+
+# Uncommenting next line will break the output feature (no output!!)
+# rspec_options
+options = Spec::Runner::OptionParser.parse(
+ ARGV, $stderr, $stdout
+)
+Spec::Runner::CommandLine.run(options)