Sha256: 94484160dcac5210c8abf847d84762a3c0dcd60eff830b46f779a968234bdc4e
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authenticate-0.3.1 | spec/features/sign_out_spec.rb |
authenticate-0.3.0 | spec/features/sign_out_spec.rb |