Fix factory lint spec

#330
This commit is contained in:
Artur Beljajev 2017-01-05 19:18:32 +02:00
parent eb95299c82
commit 55571b3953

View file

@ -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