Sha256: 5dbe681508163fffe035b45ebb9d5d5451f6f167817a3e15ecf4d1eb9f9d7bc4

Contents?: true

Size: 389 Bytes

Versions: 19

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

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

19 entries across 19 versions & 1 rubygems

Version Path
g5_authenticatable-0.9.1.pre.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.8.1.pre spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.8.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.8.0.beta1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.5 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.5.beta spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.4 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.4.beta.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.3 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.7.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.6.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.5.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.5.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.4.2 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.4.1 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.4.0 spec/routing/auth_error_routing_spec.rb
g5_authenticatable-0.3.0 spec/routing/auth_error_routing_spec.rb