Sha256: 819151a1d29c4b52a594b8995fb238478c463ae914d33b27ada68a506516c34c
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
require 'spec_helper' describe ::ApplicationController do it 'should have the correct new_session_path for users' do expect(controller.new_session_path(:user)).to eq('/g5_auth/users/sign_in') end it 'should have the correct destroy_session_path for users' do expect(controller.destroy_session_path(:user)).to eq('/g5_auth/users/sign_out') end it 'should have the correct g5_authorize_path for users' do expect(controller.g5_authorize_path(:user)).to eq('/g5_auth/users/auth/g5') end it 'should have the correct g5_callback_path for users' do expect(controller.g5_callback_path(:user)).to eq('/g5_auth/users/auth/g5/callback') end it_should_behave_like 'a secure controller' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
g5_authenticatable-0.4.0 | spec/controllers/application_controller_spec.rb |
g5_authenticatable-0.3.0 | spec/controllers/application_controller_spec.rb |