diff --git a/spec/features/admin/enterprise_fees_spec.rb b/spec/features/admin/enterprise_fees_spec.rb index 9bc919ad57..8d18152d09 100644 --- a/spec/features/admin/enterprise_fees_spec.rb +++ b/spec/features/admin/enterprise_fees_spec.rb @@ -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.')