mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
parent
eb95299c82
commit
55571b3953
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
require_relative 'rails_helper'
|
require_relative 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe 'FactoryGirl', db: true do
|
RSpec.describe 'FactoryGirl', db: true do
|
||||||
|
before :example do
|
||||||
|
allow(Contact).to receive(:address_processing?).and_return(false)
|
||||||
|
end
|
||||||
|
|
||||||
it 'lints factories' do
|
it 'lints factories' do
|
||||||
FactoryGirl.lint
|
FactoryGirl.lint
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue