We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a8c06e commit c8119beCopy full SHA for c8119be
1 file changed
spec/search_spec.rb
@@ -35,13 +35,12 @@ def generate_test_object
35
expect(page).to have_content('The Early Arrivals Records Search (EARS)')
36
end
37
38
- scenario 'empty search shows all results' do # rubocop:disable RSpec/ExampleLength
+ scenario 'empty search shows all results' do
39
visit '/'
40
click_button 'Search'
41
expect(page).to have_content(
42
'Search results for immigration records Last Name First Name Middle Name Age Gender Port Date Ship Destination'
43
- )
44
- expect(page).to have_css('table#table tbody tr')
+ ).and have_css('table#table tbody tr')
45
46
47
scenario 'Search query yields intended results' do
0 commit comments