Sha256: 3f98224d05ab6692047a70f18ce68752d09fdb8e8f30db5bc73438ad13beb675
Contents?: true
Size: 580 Bytes
Versions: 28
Compression:
Stored size: 580 Bytes
Contents
require 'test_helper' class SignOutTest < ActionController::IntegrationTest context 'Signing out as a user' do should 'see "Signed out"' do sign_up(:email => 'bob@bob.bob') sign_out assert_match(/Signed out/, response.body) end should 'be signed out' do sign_up(:email => 'bob@bob.bob') sign_out assert !controller.signed_in? end should 'be signed out when I return' do sign_up(:email => 'bob@bob.bob') sign_out visit root_url assert !controller.signed_in? end end end
Version data entries
28 entries across 26 versions & 4 rubygems