Reorder includes for spec_helper and rails_helper

This commit is contained in:
Sebastian Serth
2024-06-14 18:21:16 +02:00
committed by Dominic Sauer
parent 9dd3f94d04
commit dc21c31f9d
2 changed files with 8 additions and 2 deletions

View File

@ -24,7 +24,10 @@ unless RUBY_PLATFORM == 'java' || ENV.fetch('RUBYMINE_SIMPLECOV_COVERAGE_PATH',
SimpleCov.start('rails')
end
require 'webmock/rspec'
RSpec::Matchers.define_negated_matcher :avoid_change, :change
RSpec::Matchers.define_negated_matcher :not_include, :include
RSpec::Matchers.define_negated_matcher :not_have_attributes, :have_attributes
RSpec::Matchers.define_negated_matcher :not_eql, :eql
RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate