Commit f6d321ae authored by Phil Hughes's avatar Phil Hughes

Fixed rubocop issues

parent 82ea4355
...@@ -80,7 +80,7 @@ describe 'Issues', feature: true do ...@@ -80,7 +80,7 @@ describe 'Issues', feature: true do
click_link date.day click_link date.day
end end
expect(find('#issuable-due-date', :visible => false).value).to eq date.to_s expect(find('#issuable-due-date', visible: false).value).to eq date.to_s
click_button 'Submit issue' click_button 'Submit issue'
...@@ -100,7 +100,7 @@ describe 'Issues', feature: true do ...@@ -100,7 +100,7 @@ describe 'Issues', feature: true do
it 'should save with due date' do it 'should save with due date' do
date = Date.today.at_beginning_of_month date = Date.today.at_beginning_of_month
expect(find('#issuable-due-date', :visible => false).value).to eq date.to_s expect(find('#issuable-due-date', visible: false).value).to eq date.to_s
date = date.tomorrow date = date.tomorrow
...@@ -111,7 +111,7 @@ describe 'Issues', feature: true do ...@@ -111,7 +111,7 @@ describe 'Issues', feature: true do
click_link date.day click_link date.day
end end
expect(find('#issuable-due-date', :visible => false).value).to eq date.to_s expect(find('#issuable-due-date', visible: false).value).to eq date.to_s
click_button 'Save changes' click_button 'Save changes'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment