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