Sha256: db6fa0d4bea97523888d44451799acd2b919aa709d8e425d418286a835d55888
Contents?: true
Size: 456 Bytes
Versions: 19
Compression:
Stored size: 456 Bytes
Contents
require 'spec_helper' describe 'error path' do context 'when there is an error at the oauth server' do before do stub_g5_invalid_credentials end it 'should redirect to the error path' do visit(protected_page_path) expect(current_path).to eq('/g5_auth/auth_error') end it 'should not use the application layout' do visit(protected_page_path) expect(page).to_not have_title('Dummy') end end end
Version data entries
19 entries across 19 versions & 1 rubygems