spec/spec_helper.rb in yq-0.4.0 vs spec/spec_helper.rb in yq-0.4.1

- old
+ new

@@ -1,16 +1,12 @@ -$:.unshift(File.expand_path("../lib", File.dirname(__FILE__))) +$:.unshift(File.expand_path('../lib', File.dirname(__FILE__))) -require 'coveralls' -Coveralls.wear! - require 'logger' require 'pry' require 'yq' - LOGGER = Logger.new('/dev/null') -SPEC_ROOT = File.expand_path(File.dirname(__FILE__)) +SPEC_ROOT = __dir__ WORK_ROOT = File.expand_path(File.join(SPEC_ROOT, '..')) RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true