File tree Expand file tree Collapse file tree
test/integration/file_push Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def test_deletable_by_viewer_enabled_or_not
168168 assert ( deletable_checkbox . length == 1 )
169169
170170 # DELETABLE_PASSWORDS_DEFAULT determines initial check state
171- if Settings . files . deletable_pushes_default == true
171+ if Settings . files . deletable_pushes_default
172172 assert ( deletable_checkbox . first . attributes [ "checked" ] . value == "checked" )
173173 else
174174 assert ( deletable_checkbox . first . attributes [ "checked" ] . nil? )
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ class FilePushDeletionTest < ActionDispatch::IntegrationTest
1818 end
1919
2020 def test_deletion
21- assert Settings . files . enable_deletable_pushes == true
22-
2321 get new_push_path ( tab : "files" )
2422 assert_response :success
2523
@@ -53,8 +51,6 @@ def test_deletion
5351 end
5452
5553 def test_end_user_deletion_when_enabled
56- assert Settings . files . enable_deletable_pushes == true
57-
5854 get new_push_path ( tab : "files" )
5955 assert_response :success
6056
You can’t perform that action at this time.
0 commit comments