Skip to content

Commit 0f60d62

Browse files
committed
Test fix
1 parent 98c6fb5 commit 0f60d62

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

test/controllers/static_controller_test.rb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ class StaticControllerTest < ActionController::TestCase
1616
'collections': true,
1717
'content_providers': true,
1818
'trainers': true,
19-
'nodes': true }
19+
'nodes': true,
20+
'spaces': true
21+
}
2022

2123
with_settings(feature: features) do
2224
get :home
@@ -45,7 +47,9 @@ class StaticControllerTest < ActionController::TestCase
4547
'collections': false,
4648
'content_providers': false,
4749
'trainers': false,
48-
'nodes': false }
50+
'nodes': false,
51+
'spaces': false
52+
}
4953

5054
with_settings(feature: features) do
5155
get :home
@@ -151,7 +155,9 @@ class StaticControllerTest < ActionController::TestCase
151155
'collections': true,
152156
'content_providers': true,
153157
'trainers': true,
154-
'nodes': true }
158+
'nodes': true,
159+
'spaces': true
160+
}
155161

156162
with_settings(feature: features, site: { tab_order: %w[materials events], directory_tabs: [] }) do
157163
get :home

0 commit comments

Comments
 (0)