Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Extend coverage of `/boards` routing

Aaron Contreras309e992d6412
diff --git a/modules/boards/spec/routing/boards_routing_spec.rb b/modules/boards/spec/routing/boards_routing_spec.rb
index 279aa3fb285..dc312e4fd48 100644
--- a/modules/boards/spec/routing/boards_routing_spec.rb
+++ b/modules/boards/spec/routing/boards_routing_spec.rb
@@ -35,6 +35,12 @@ RSpec.describe 'Boards routing' do
.to(controller: 'boards/boards', action: 'index', project_id: 'foobar', state: 'state')
end
+ it do
+ expect(subject)
+ .to route(:get, '/boards')
+ .to(controller: 'boards/boards', action: 'index')
+ end
+
it do
expect(subject)
.to route(:get, '/boards/state')