Skip to content

Commit c8119be

Browse files
committed
fixed rubocop issue
1 parent 8a8c06e commit c8119be

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

spec/search_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ def generate_test_object
3535
expect(page).to have_content('The Early Arrivals Records Search (EARS)')
3636
end
3737

38-
scenario 'empty search shows all results' do # rubocop:disable RSpec/ExampleLength
38+
scenario 'empty search shows all results' do
3939
visit '/'
4040
click_button 'Search'
4141
expect(page).to have_content(
4242
'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')
43+
).and have_css('table#table tbody tr')
4544
end
4645

4746
scenario 'Search query yields intended results' do

0 commit comments

Comments
 (0)