mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
Further style spec
This commit is contained in:
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user