Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PL: add ZIP comments to regional partner factories #28323

Merged
merged 1 commit into from May 7, 2019

Conversation

breville
Copy link
Member

@breville breville commented May 2, 2019

This is just a convenience for my development work. Sometimes I use the factories to create some dummy regional partners in my local dashboard database, by running the following in dashboard-console:

RegionalPartner.destroy_all
if defined? FactoryGirl
  include FactoryGirl::Syntax::Methods
end

create :regional_partner_alabama
create :regional_partner_illinois
create :regional_partner_kentucky
create :regional_partner_newjersey
create :regional_partner_oregon
create :regional_partner_wyoming
create :regional_partner_beverly_hills

And then search for these using ZIP code at http://localhost.code.org:3000/educate/professional-learning/program-information.

Adding the ZIP codes to the comments makes for some convenient documentation when I'm trying to see the different types of results on that page.

@breville breville merged commit ca455d5 into staging May 7, 2019
@breville breville deleted the pl-factory-zip-comments branch May 7, 2019 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants