Sha256: 81b8faae52cc8a8c91c711fd68357cc8c2b62f275a24ab71db0c194c9ccbfd53

Contents?: true

Size: 521 Bytes

Versions: 62

Compression:

Stored size: 521 Bytes

Contents

require "rails_helper"

RSpec.describe "routes for Welcome", :type => :routing do
  it "routes /admin/welcome to the admin/welcome controller" do
    expect(get("/admin/welcome")).
      to route_to("admin/welcome#index")
  end

  it "routes /admin/login to the admin/welcome controller" do
    expect(get("/admin/login")).
      to route_to("admin/welcome#login")
  end

  it "routes /admin/logout to the admin/welcome controller" do
    expect(get("/admin/logout")).
      to route_to("admin/welcome#logout")
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
trusty-cms-3.9.7 spec/routing/welcome_routing_spec.rb
trusty-cms-3.9.6 spec/routing/welcome_routing_spec.rb
trusty-cms-3.9.2 spec/routing/welcome_routing_spec.rb
trusty-cms-3.9.1 spec/routing/welcome_routing_spec.rb
trusty-cms-3.9.0 spec/routing/welcome_routing_spec.rb
trusty-cms-3.8.4 spec/routing/welcome_routing_spec.rb
trusty-cms-3.8.3 spec/routing/welcome_routing_spec.rb
trusty-cms-3.8.2 spec/routing/welcome_routing_spec.rb
trusty-cms-3.8.1 spec/routing/welcome_routing_spec.rb
trusty-cms-3.8.0 spec/routing/welcome_routing_spec.rb
trusty-cms-3.7.1 spec/routing/welcome_routing_spec.rb
trusty-cms-3.7.0 spec/routing/welcome_routing_spec.rb
trusty-cms-3.6.2 spec/routing/welcome_routing_spec.rb
trusty-cms-3.6.1 spec/routing/welcome_routing_spec.rb
trusty-cms-3.6.0 spec/routing/welcome_routing_spec.rb
trusty-cms-3.5.5 spec/routing/welcome_routing_spec.rb
trusty-cms-3.5.4 spec/routing/welcome_routing_spec.rb
trusty-cms-3.5.3 spec/routing/welcome_routing_spec.rb
trusty-cms-3.5.2 spec/routing/welcome_routing_spec.rb
trusty-cms-3.5.1 spec/routing/welcome_routing_spec.rb