Sha256: d1450324750c9b5098f1c3131cff8dc2309cd871aac7ff6d5457755790902042
Contents?: true
Size: 400 Bytes
Versions: 21
Compression:
Stored size: 400 Bytes
Contents
require 'test_helper' class SignOutTest < ActiveSupport::IntegrationCase teardown do Capybara.reset_sessions! end test 'sign out' do user_factory 'Bob', 'bob', 'secret' sign_in_as 'bob', 'secret' visit sign_out_path assert_equal root_path, current_path within '.flash.notice' do assert page.has_content?('You have successfully signed out.') end end end
Version data entries
21 entries across 21 versions & 1 rubygems