From 16224bfd15dd2dbcbb999e1835e9c5a558a8fa80 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 24 Mar 2019 23:23:52 +0500 Subject: [PATCH] Fix code style --- features/step_definitions/account.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/step_definitions/account.rb b/features/step_definitions/account.rb index fdb2dea..ede0ec1 100644 --- a/features/step_definitions/account.rb +++ b/features/step_definitions/account.rb @@ -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 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 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 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 create :personal_account,