summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: b061f22fcef4a88ae45dfc5780691368fbf742ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if ENV['CI']
  require 'simplecov'
  SimpleCov.start
end

require 'pry'

require 'rspec'
require 'hashie'
require 'rspec/pending_for'
require './spec/support/ruby_version_check'
require './spec/support/logger'

require 'active_support'
require 'active_support/core_ext'

RSpec.configure do |config|
  config.extend RubyVersionCheck
  config.expect_with :rspec do |expect|
    expect.syntax = :expect
  end
  config.warnings = true
end