spec/spec_helper.rb in command_exec-0.1.3 vs spec/spec_helper.rb in command_exec-0.2.0

- old
+ new

@@ -1,21 +1,32 @@ #encoding: utf-8 + $LOAD_PATH << File.expand_path('../lib' , File.dirname(__FILE__)) -require 'pry' -require 'stringio' +unless ENV['TRAVIS_CI'] == 'true' + require 'pry' + require 'debugger' + require 'ap' +end +require 'stringio' require 'tempfile' -require 'simplecov' -SimpleCov.start +unless ENV['TRAVIS_CI'] == 'true' + require 'simplecov' + SimpleCov.start +end require 'command_exec' require 'command_exec/spec_helper_module' +require 'active_support/core_ext/numeric/time' include CommandExec include CommandExec::Exceptions RSpec.configure do |c| c.include CommandExec::SpecHelper + c.treat_symbols_as_metadata_keys_with_true_values = true + c.filter_run_including :focus => true end +#ENV['PATH'] = '/bin'