mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-19 14:26:14 -04:00
address code climate issues
This commit is contained in:
committed by
always-be-closing[bot]
parent
1e1b9f5ef5
commit
d72ec5890a
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user