spec/spec_helper.rb in cruisestatus-1.2.1 vs spec/spec_helper.rb in cruisestatus-1.3.1
- old
+ new
@@ -1,12 +1,14 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'cruisestatus'
-require 'cruisestatus/command'
require "rubygems"
require 'spec'
require 'spec/autorun'
+
+require 'cruisestatus'
+require 'cruisestatus/command'
+
Spec::Runner.configure do |config|
def capture_stdout(&block)
old_stdout, $stdout = $stdout, StringIO.new
yield