Skip to content

Commit d932bc0

Browse files
committed
Fix failing tests
Newlines are no longer returned in parsed HTML in minitest
1 parent bcccb19 commit d932bc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/controllers/term_controller_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ class TermControllerTest < ActionDispatch::IntegrationTest
3030
sign_in users(:basic)
3131
get terms_unconfirmed_path
3232

33-
assert_select 'p.wrap-filters', text: "View:\n Categorized terms\n All terms", count: 0
33+
assert_select 'p.wrap-filters', text: "View: Categorized terms All terms", count: 0
3434
end
3535

3636
test 'admin users see two confirmation options' do
3737
sign_in users(:admin)
3838
get terms_unconfirmed_path
3939

40-
assert_select 'p.wrap-filters', text: "View:\n Categorized terms\n All terms", count: 1
40+
assert_select 'p.wrap-filters', text: "View: Categorized terms All terms", count: 1
4141
end
4242

4343
test 'basic users cannot access the confirmation option for uncategorized terms' do

0 commit comments

Comments
 (0)