Sha256: db50cda90d02d92090cd7888c6a02e0da0f281e5a9eb41b07ab9d8bc45248e32
Contents?: true
Size: 594 Bytes
Versions: 8
Compression:
Stored size: 594 Bytes
Contents
require 'spec_helper' feature 'Visitor signs up' do scenario 'by navigating to the page' do visit sign_in_path click_link I18n.t('sessions.form.sign_up') current_path.should eq sign_up_path end scenario 'with valid email and password' do sign_up_with 'valid@example.com', 'password' user_should_be_signed_in end scenario 'tries with invalid email' do sign_up_with 'invalid_email', 'password' user_should_be_signed_out end scenario 'tries with blank password' do sign_up_with 'valid@example.com', '' user_should_be_signed_out end end
Version data entries
8 entries across 8 versions & 1 rubygems