Sha256: 2bf6fe167e21c1d9f198be03e7c65c38fc5a280db1d9a8c799b551eb5b53e73f

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

require 'spec_helper'

feature 'Visitor signs up' do
  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

4 entries across 4 versions & 1 rubygems

Version Path
clearance-1.0.0.rc7 lib/generators/clearance/specs/templates/integration/clearance/visitor_signs_up_spec.rb
clearance-1.0.0.rc6 lib/generators/clearance/specs/templates/integration/clearance/visitor_signs_up_spec.rb
clearance-1.0.0.rc4 lib/generators/clearance/specs/templates/integration/clearance/visitor_signs_up_spec.rb
clearance-1.0.0.rc3 lib/generators/clearance/specs/templates/integration/clearance/visitor_signs_up_spec.rb