Skip to content

Commit 6fb26b5

Browse files
committed
Test fix
1 parent 263f7d9 commit 6fb26b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/controllers/spaces_controller_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ class SpacesControllerTest < ActionController::TestCase
246246
'elearning_materials': false,
247247
'learning_paths': false,
248248
'workflows': true,
249+
'spaces': true,
249250
'collections': false,
250251
'content_providers': false,
251252
'trainers': false,
@@ -255,7 +256,7 @@ class SpacesControllerTest < ActionController::TestCase
255256
with_settings(feature: features) do
256257
get :edit, params: { id: @space }
257258
assert_response :success
258-
assert_select '[name="space[enabled_features][]"]', count: 3 # +1 because of the blank input that allows you to
259+
assert_select '[name="space[enabled_features][]"]', count: 4 # +1 because of the blank input that allows you to
259260
# clear the list
260261
assert_select '#space_enabled_features_events', count: 1
261262
assert_select '#space_enabled_features_workflows', count: 1

0 commit comments

Comments
 (0)