Further style spec

This commit is contained in:
Maikel Linke
2018-08-17 15:08:43 +10:00
parent bc1e8bfde6
commit 297ea830dc

View File

@@ -148,10 +148,10 @@ feature %q{
within(".side_menu") { click_link 'Enterprise Fees' }
click_link "Create One Now"
select distributor1.name, :from => 'enterprise_fee_set_collection_attributes_0_enterprise_id'
fill_in 'enterprise_fee_set_collection_attributes_0_name', :with => 'foo'
select distributor1.name, from: 'enterprise_fee_set_collection_attributes_0_enterprise_id'
fill_in 'enterprise_fee_set_collection_attributes_0_name', with: 'foo'
select 'GST', from: 'enterprise_fee_set_collection_attributes_0_tax_category_id'
select 'Flat Percent', :from => 'enterprise_fee_set_collection_attributes_0_calculator_type'
select 'Flat Percent', from: 'enterprise_fee_set_collection_attributes_0_calculator_type'
click_button 'Update'
expect(flash_message).to eq('Your enterprise fees have been updated.')