diff --git a/app/assets/javascripts/templates/registration/about.html.haml b/app/assets/javascripts/templates/registration/about.html.haml index 5b7d2e6df6..4343daaab7 100644 --- a/app/assets/javascripts/templates/registration/about.html.haml +++ b/app/assets/javascripts/templates/registration/about.html.haml @@ -40,6 +40,14 @@ .field %label{ for: 'enterprise_acn' } ACN: %input.chunky{ id: 'enterprise_acn', placeholder: "eg. 123 456 789", ng: { model: 'enterprise.acn' } } + .row + .small-12.columns + .field + %label{ for: 'enterprise_charges_sales_tax' }= t(:charges_sales_tax) + %input{ id: 'enterprise_charges_sales_tax_true', type: 'radio', value: 'true', ng: { model: 'enterprise.charges_sales_tax' } } + %label{ for: 'enterprise_charges_sales_tax_true' } Yes + %input{ id: 'enterprise_charges_sales_tax_false', type: 'radio', value: 'false', ng: { model: 'enterprise.charges_sales_tax' } } + %label{ for: 'enterprise_charges_sales_tax_false' } No .row.buttons.pad-top .small-12.columns diff --git a/spec/features/consumer/registration_spec.rb b/spec/features/consumer/registration_spec.rb index 354a5c37eb..25a91ae160 100644 --- a/spec/features/consumer/registration_spec.rb +++ b/spec/features/consumer/registration_spec.rb @@ -60,15 +60,17 @@ feature "Registration", js: true do fill_in 'enterprise_long_desc', with: 'Long description' fill_in 'enterprise_abn', with: '12345' fill_in 'enterprise_acn', with: '54321' + choose 'Yes' # enterprise_charges_sales_tax click_button 'Continue' - # Enterprise should be update + # Enterprise should be updated expect(page).to have_content "Let's upload some pretty pictures so your profile looks great!" e.reload expect(e.description).to eq "Short description" expect(e.long_description).to eq "Long description" expect(e.abn).to eq '12345' expect(e.acn).to eq '54321' + expect(e.charges_sales_tax).to be_true # Images # Move from logo page