Commit 637dafde authored by Mike Greiling's avatar Mike Greiling

add rspec feature test

parent 3212d47c
......@@ -619,14 +619,16 @@ describe 'Issues', feature: true do
end
it 'adds due date to issue' do
date = Date.today.at_beginning_of_month + 2.days
page.within '.due_date' do
click_link 'Edit'
page.within '.ui-datepicker-calendar' do
first('.ui-state-default').click
click_link date.day
end
expect(page).to have_no_content 'None'
expect(find('.value').text).to have_content date.strftime('%b %-d, %Y')
end
end
......
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