master
 1require "rails_helper"
 2
 3describe "root route" do
 4  it "routes to the login page" do
 5    expect(get: "/").to route_to(controller: "sessions", action: "new")
 6  end
 7end
 8
 9describe "terms route" do
10  it "routes to the terms and conditions page" do
11    expect(get: "/terms").
12      to route_to(controller: "static_pages", action: "terms")
13  end
14end