address code climate issues

This commit is contained in:
bestest-mensch
2019-10-06 16:53:34 -05:00
committed by always-be-closing[bot]
parent 1e1b9f5ef5
commit d72ec5890a

View File

@@ -49,10 +49,7 @@ describe "Conversations", :js do
click_link 'Your Stuff'
click_link 'Inbox'
all('input[type=checkbox]').each do |checkbox|
checkbox.click
end
all('input[type=checkbox]').each(&:click)
click_button 'Delete Selected'
expect(page).not_to have_content 'this is a message'
@@ -70,10 +67,7 @@ describe "Conversations", :js do
expect(page).to have_selector('.sent')
find('.sent').click
all('input[type=checkbox]').each do |checkbox|
checkbox.click
end
all('input[type=checkbox]').each(&:click)
click_button 'Delete Selected'
expect(page).to have_selector('.sent')