diff --git a/spec/factory_lint_spec.rb b/spec/factory_lint_spec.rb index 37988cca0..6269e3ec3 100644 --- a/spec/factory_lint_spec.rb +++ b/spec/factory_lint_spec.rb @@ -1,6 +1,10 @@ require_relative 'rails_helper' RSpec.describe 'FactoryGirl', db: true do + before :example do + allow(Contact).to receive(:address_processing?).and_return(false) + end + it 'lints factories' do FactoryGirl.lint end