hashie/spec/spec_helper.rb

25 lines
523 B
Ruby
Raw Normal View History

2014-11-27 06:09:36 +00:00
if ENV['CI']
require 'simplecov'
SimpleCov.start
2014-11-27 06:09:36 +00:00
end
require 'pry'
2010-06-15 06:16:25 +00:00
2011-01-27 14:20:39 +00:00
require 'rspec'
require 'hashie'
require 'json'
require 'rspec/pending_for'
2016-05-31 22:53:33 +00:00
require './spec/support/ruby_version_check'
require './spec/support/logger'
require './spec/support/matchers'
Dir[File.expand_path(File.join(__dir__, 'support', '**', '*'))].sort.each { |file| require file }
RSpec.configure do |config|
2016-05-31 22:53:33 +00:00
config.extend RubyVersionCheck
config.expect_with :rspec do |expect|
expect.syntax = :expect
end
config.warnings = true
end