mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Add route for roadmap and its tests
This commit is contained in:
13
spec/routing/static_pages_routing_spec.rb
Normal file
13
spec/routing/static_pages_routing_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe 'static pages routing', :aggregate_failures, type: :routing do
|
||||
it 'routes roadmap' do
|
||||
expect(get: '/').to route_to(
|
||||
controller: 'static_pages', action: 'roadmap'
|
||||
)
|
||||
|
||||
expect(get: '/roadmap').to route_to(
|
||||
controller: 'static_pages', action: 'roadmap'
|
||||
)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user