1
0
Fork 0

Fix code style

This commit is contained in:
Alex Kotov 2019-06-23 21:07:51 +05:00
parent ad56b0378a
commit 0347926d99
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -12,7 +12,8 @@ end
When 'there is a supporter account with the following data:' do |table|
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
federal_subject = create :federal_subject, english_name: options[:federal_subject]
federal_subject =
create :federal_subject, english_name: options[:federal_subject]
regional_office = create :regional_office, federal_subject: federal_subject
person = create :supporter_person, regional_office: regional_office
@ -26,7 +27,8 @@ end
When 'there is a member account with the following data:' do |table|
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
federal_subject = create :federal_subject, english_name: options[:federal_subject]
federal_subject =
create :federal_subject, english_name: options[:federal_subject]
regional_office = create :regional_office, federal_subject: federal_subject
person = create :member_person, regional_office: regional_office
@ -40,7 +42,8 @@ end
When 'there is an excluded member account with the following data:' do |table|
options = table.raw.map { |(k, v)| [k.to_sym, v] }.to_h
federal_subject = create :federal_subject, english_name: options[:federal_subject]
federal_subject =
create :federal_subject, english_name: options[:federal_subject]
regional_office = create :regional_office, federal_subject: federal_subject
person = create :excluded_person, regional_office: regional_office