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