Sha256: efb4bea99d2547be475d4b7e78bad911cbaa3ec79918585b86a5c8538b3bd3e2
Contents?: true
Size: 660 Bytes
Versions: 11
Compression:
Stored size: 660 Bytes
Contents
require "<%= @helper_file %>" require "support/features/clearance_helpers" 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
11 entries across 11 versions & 1 rubygems