Skip to content

Commit a684380

Browse files
committed
Update test to reflect new markup
1 parent b9359f8 commit a684380

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/controllers/search_controller_test.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,9 @@ def source_filter_count(controller)
623623

624624
get '/results?q=test'
625625
assert_response :success
626-
assert_select 'aside.search-summary', count: 1
627-
assert_select 'aside.search-summary', text: /You searched for: test/
626+
assert_select '.results-context', text: /0 results/
627+
assert_select '.results-context-description', count: 1
628+
assert_select '.results-context-description', text: /From all MIT Libraries sources/
628629
end
629630

630631
test 'primo results shows continuation partial when page exceeds API offset limit' do

0 commit comments

Comments
 (0)