Sha256: 48162456d8656b19012b3db4ffd1b599bd7951e12cdaf721392e3d7e8acc013f

Contents?: true

Size: 428 Bytes

Versions: 18

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe G5Authenticatable::ErrorController do
  routes { G5Authenticatable::Engine.routes }

  it 'should route GET /g5_auth/auth_error path' do
    expect(get: '/auth_error')
      .to route_to(controller: 'g5_authenticatable/error', action: 'auth_error')
  end

  it 'should generate a helper' do
    expect(auth_error_path).to eq('/g5_auth/auth_error')
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
g5_authenticatable-1.1.4 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.4.rc.3 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.4.rc.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.4.rc.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2.pre.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2.rc.5 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2.rc.4 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2.rc.3 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2.rc.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.2.rc.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.1.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.0.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.0.0.pre.4 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.0.0.pre.3 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.0.0.pre.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-1.0.0.pre.1 spec/routing/auth_error_routing_spec.rb