2015-12-08 10:11:58 +01:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :module_api_carto do
|
|
|
|
use_api_carto false
|
|
|
|
quartiers_prioritaires false
|
|
|
|
cadastre false
|
|
|
|
|
|
|
|
trait :with_api_carto do
|
|
|
|
use_api_carto true
|
|
|
|
end
|
|
|
|
|
2015-12-08 11:18:49 +01:00
|
|
|
trait :with_quartiers_prioritaires do
|
2015-12-08 10:11:58 +01:00
|
|
|
use_api_carto true
|
|
|
|
quartiers_prioritaires true
|
|
|
|
end
|
|
|
|
|
|
|
|
trait :with_cadastre do
|
|
|
|
use_api_carto true
|
|
|
|
cadastre true
|
|
|
|
end
|
|
|
|
|
|
|
|
trait :with_qp_and_cadastre do
|
|
|
|
use_api_carto true
|
|
|
|
quartiers_prioritaires true
|
|
|
|
cadastre true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|