spec/spec_helper.rb in chemistrykit-1.2.1 vs spec/spec_helper.rb in chemistrykit-1.3.0

- old
+ new

@@ -2,9 +2,18 @@ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration +# +require 'rubygems' +require 'bundler/setup' +require 'fileutils' +#not sure it this is the right way to include all the files under test. +require_relative '../lib/chemistrykit/cli/helpers/formula_loader' + +TEST_TMP_PATH = File.join(Dir.pwd, 'build', 'tmp') + RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus