Sha256: f84c8084811a2ff2657ebb9c97bf6fcca81e7754acf98094ca6de8f4b7f44d34
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
require 'spec_helper' feature "Sign up" do scenario "Sign up requires that you accept terms" do visit root_path fill_in 'Email', with: 'fake@example.com' click_button 'Continue' page.should have_content("Terms of use must be accepted") find(:css, "#applicant_terms_of_use").set(true) click_button 'Continue' expect(page).to have_content "Next Step: Verify your email address" end scenario "Sign up send me an email" do visit root_path fill_in 'Email', with: 'fake@example.com' find(:css, "#applicant_terms_of_use").set(true) click_button 'Continue' expect(page).to have_content "Next Step: Verify your email address" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
applicants-0.11.0 | spec/features/sign_up_spec.rb |