spec/spec_helper.rb in validates_cpf-2.0.1 vs spec/spec_helper.rb in validates_cpf-3.0.0

- old
+ new

@@ -1,8 +1,25 @@ +# frozen_string_literal: true + require 'rspec' require 'active_model' require 'coveralls' +require 'jazz_fingers' +require 'shoulda-matchers' +JazzFingers.configure do |config| + config.colored_prompt = false + config.awesome_print = false + config.coolline = false + config.application_name = ValidatesCpf +end + +require 'jazz_fingers/setup' + +RSpec.configure do |config| + config.include Shoulda::Matchers::ActiveModel +end + Coveralls.wear! -Dir.glob(File.dirname(__FILE__) + '/../lib/**/*.rb').each { |file| require file } -Dir.glob(File.dirname(__FILE__) + '/fake_app/*.rb').each { |file| require file } \ No newline at end of file +require File.expand_path('lib/validates_cpf') +require File.expand_path('spec/fake_app/user')