Commit 9f0afcc
Changed files (1)
spec
routing
spec/routing/route_routing_spec.rb
@@ -1,14 +1,14 @@
-require 'rails_helper'
+require "rails_helper"
describe "root route" do
it "routes to the login page" do
- expect(get: '/').to route_to(controller: 'sessions', action: 'new')
+ expect(get: "/").to route_to(controller: "sessions", action: "new")
end
end
describe "terms route" do
it "routes to the terms and conditions page" do
- expect(get: '/terms').
- to route_to(controller: 'static_pages', action: 'terms')
+ expect(get: "/terms").
+ to route_to(controller: "static_pages", action: "terms")
end
end