Add min. age to terms of service (#34105)
This commit is contained in:
parent
feedab26f0
commit
2cabbae132
5 changed files with 13 additions and 5 deletions
|
@ -29,6 +29,8 @@ RSpec.describe 'Admin TermsOfService Generates' do
|
|||
fill_in 'terms_of_service_generator_domain', with: 'host.example'
|
||||
fill_in 'terms_of_service_generator_jurisdiction', with: 'Europe'
|
||||
fill_in 'terms_of_service_generator_choice_of_law', with: 'New York'
|
||||
fill_in 'terms_of_service_generator_min_age', with: '16'
|
||||
|
||||
expect { submit_form }
|
||||
.to change(TermsOfService, :count).by(1)
|
||||
expect(page)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue