Sha256: 028d9d92913f2236e674663cdbcb05c9e3060fbdb7866c1d449ec02f9f7a7a5d
Contents?: true
Size: 666 Bytes
Versions: 30
Compression:
Stored size: 666 Bytes
Contents
require "<%= @helper_file %>" require "support/features/clearance_helpers" RSpec.feature "Visitor signs up" do scenario "by navigating to the page" do visit sign_in_path click_link I18n.t("sessions.form.sign_up") expect(current_path).to eq sign_up_path end scenario "with valid email and password" do sign_up_with "valid@example.com", "password" expect_user_to_be_signed_in end scenario "tries with invalid email" do sign_up_with "invalid_email", "password" expect_user_to_be_signed_out end scenario "tries with blank password" do sign_up_with "valid@example.com", "" expect_user_to_be_signed_out end end
Version data entries
30 entries across 30 versions & 1 rubygems