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