Fix code style
This commit is contained in:
parent
896dc273ef
commit
16224bfd15
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ When 'there is a supporter account with the following data:' do |table|
|
||||||
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
|
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
|
||||||
|
|
||||||
country_state = create :country_state, name: options[:country_state]
|
country_state = create :country_state, name: options[:country_state]
|
||||||
regional_office = create :regional_office
|
regional_office = create :regional_office, country_state: country_state
|
||||||
person = create :supporter_person, regional_office: regional_office
|
person = create :supporter_person, regional_office: regional_office
|
||||||
|
|
||||||
create :personal_account,
|
create :personal_account,
|
||||||
|
@ -27,7 +27,7 @@ When 'there is a member account with the following data:' do |table|
|
||||||
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
|
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
|
||||||
|
|
||||||
country_state = create :country_state, name: options[:country_state]
|
country_state = create :country_state, name: options[:country_state]
|
||||||
regional_office = create :regional_office
|
regional_office = create :regional_office, country_state: country_state
|
||||||
person = create :member_person, regional_office: regional_office
|
person = create :member_person, regional_office: regional_office
|
||||||
|
|
||||||
create :personal_account,
|
create :personal_account,
|
||||||
|
|
Reference in a new issue