houdini/spec/factories/nonprofits.rb

33 lines
969 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2020-06-12 20:03:43 +00:00
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
FactoryBot.define do
2020-04-17 19:02:07 +00:00
factory :nm_justice, class: Nonprofit do
id { 55352 }
name { 'New Mexico Justice' }
2019-01-16 20:33:21 +00:00
city { 'Albuquerque' }
state_code { 'NM' }
zip_code { 55_555 }
2020-04-17 19:02:07 +00:00
email { 'nmj@gmail.com' }
slug { 'new-mexico-equality' }
2020-04-17 19:02:07 +00:00
state_code_slug { 'nm'}
city_slug { 'albuquerque'}
2020-04-17 20:30:54 +00:00
register_np_only { true }
2020-04-17 19:02:07 +00:00
end
2020-04-17 19:02:07 +00:00
factory :fv_poverty, class: Nonprofit do
id { 22352 }
name { 'Ending Poverty in the Fox Valley Inc.' }
city { 'Appleton' }
state_code { 'WI' }
zip_code { 54915 }
email { 'contact@endpovertyinthefoxvalleyinc.org' }
website {'https://endpovertyinthefoxvalleyinc.org'}
slug { 'end-poverty-in-the-fox-valley-inc' }
2020-04-17 19:02:07 +00:00
state_code_slug { 'wi'}
city_slug { 'appleton'}
2020-04-17 20:30:54 +00:00
register_np_only { true }
end
end