mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 13:51:41 +02:00
parent
eb95299c82
commit
55571b3953
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue