Sha256: bdb6dbf2823f78dd119c22055c216d7a17339c23cc2b2fde1e8703434964860c

Contents?: true

Size: 604 Bytes

Versions: 5

Compression:

Stored size: 604 Bytes

Contents

require 'rails_helper'

feature 'User signup' do
  scenario 'Valid user information' do
    sign_up_with('First', 'Last', 'test@example.com', 'password', 'password')
    expect(page).to have_content('Welcome! You have signed up successfully.')
  end

  scenario 'Passwords do not  match' do
    sign_up_with('First', 'Last', 'test@example.com', 'password', 'password2')
    expect(page).to have_content("doesn't match Password")
  end

  scenario 'Email is invalid' do
    sign_up_with('First', 'Last', 'test2example.com', 'password', 'password')
    expect(page).to have_content('is invalid')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voyage-1.44.0.14 lib/voyage/templates/specs/features/user_signup_spec.rb
voyage-1.44.0.13 lib/voyage/templates/specs/features/user_signup_spec.rb
voyage-1.44.0.11 lib/voyage/templates/specs/features/user_signup_spec.rb
voyage-1.44.0.12 lib/voyage/templates/specs/features/user_signup_spec.rb
voyage-1.44.0.10 lib/voyage/templates/specs/features/user_signup_spec.rb