Sha256: d1bd27b59b47375d03e166acc2a06b86cfa458eaa70860f7369fde8ba54ecb16
Contents?: true
Size: 323 Bytes
Versions: 10
Compression:
Stored size: 323 Bytes
Contents
require 'spec_helper' describe 'Sign Out' do before { as :admin } it 'signs out', js: true do visit gaku.root_path click '#user_menu_dropdown' within('#user_menu') { click_link 'Sign Out' } has_content? 'Signed out successfully.' expect(current_path).to eq gaku.new_user_session_path end end
Version data entries
10 entries across 10 versions & 1 rubygems