spec/spec_helper.rb in chemistrykit-2.1.0 vs spec/spec_helper.rb in chemistrykit-3.0.0
- old
+ new
@@ -1,18 +1,21 @@
+# Encoding: utf-8
+
# This file was generated by the `rspec --init` command. Conventionally, all
# 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.
+# not sure it this is the right way to include all the files under test.
require_relative '../lib/chemistrykit/cli/helpers/formula_loader'
require_relative '../lib/chemistrykit/formula/base'
require_relative '../lib/chemistrykit/catalyst'
+require_relative '../lib/chemistrykit/configuration'
TEST_TMP_PATH = File.join(Dir.pwd, 'build', 'tmp')
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true