Sha256: 8724a9381b9588eab265530d6896e53fe3c27e762fcb79b42f1626a45268c876
Contents?: true
Size: 459 Bytes
Versions: 4
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' require 'support/features/feature_helpers' feature 'visitor signs out' do before do @user = create(:user) end scenario 'sign in and sign out' do sign_in_with(@user.email, @user.password) sign_out expect_user_to_be_signed_out end scenario 'sign out and sign out again' do sign_in_with(@user.email, @user.password) visit sign_out_path visit sign_out_path expect_user_to_be_signed_out end end
Version data entries
4 entries across 4 versions & 1 rubygems