spec/spec_helper.rb in treevisitor-0.1.5 vs spec/spec_helper.rb in treevisitor-0.1.6

- old
+ new

@@ -1,19 +1,16 @@ -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -$LOAD_PATH.unshift(File.dirname(__FILE__)) +# -*- coding: utf-8 -*- +# +# std lib +# +require "stringio" +$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'treevisitor' require 'treevisitor_cli' - include TreeVisitor FIXTURES = File.expand_path( File.join( File.dirname(__FILE__), "fixtures" ) ) - -# Spec::Runner.configure do |config| -# end - -require 'test/unit' -require "stringio" def with_stdout_captured old_stdout = $stdout out = StringIO.new $stdout = out