Skip to content

Commit 949d672

Browse files
committed
Fix test that assumed there were brackets around (n active) filters
1 parent 035facd commit 949d672

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/cinder/controls_test.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,7 @@ defmodule Cinder.ControlsTest do
303303
html = render_header(%{active_filter_count: 2})
304304

305305
assert html =~ "Filters"
306-
assert html =~ "(2"
307-
assert html =~ "active"
306+
assert html =~ "2 active"
308307
assert html =~ "clear_all_filters"
309308
assert html =~ "Clear all"
310309
refute html =~ "invisible"

0 commit comments

Comments
 (0)