File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 click_on "New Banner"
3939 fill_in "Name" , with : "Expiring Announcement"
4040 check "Active?"
41- fill_in "banner_expires_at" , with : 7 . days . from_now . strftime ( "%m%d% Y\t %I%M%P" )
41+ fill_in "banner_expires_at" , with : 7 . days . from_now . strftime ( "%Y\t %m%d %I%M%P" )
4242 fill_in_rich_text_area "banner_content" , with : "Please fill out this survey."
4343 click_on "Submit"
4444
4747 within "#banners" do
4848 click_on "Edit" , match : :first
4949 end
50- fill_in "banner_expires_at" , with : 3 . days . from_now . strftime ( "%m%d% Y\t %I%M%P" )
50+ fill_in "banner_expires_at" , with : 3 . days . from_now . strftime ( "%Y\t %m%d %I%M%P" )
5151 click_on "Submit"
5252
5353 expect ( page ) . to have_text ( "Expiring Announcement Yes in 3 days" )
6262 visit banners_path
6363 click_on "New Banner"
6464 fill_in "Name" , with : "Announcement not created"
65- fill_in "banner_expires_at" , with : 1 . week . ago . strftime ( "%m%d% Y\t %I%M%P" )
65+ fill_in "banner_expires_at" , with : 1 . week . ago . strftime ( "%Y\t %m%d %I%M%P" )
6666 fill_in_rich_text_area "banner_content" , with : "Please fill out this survey."
6767 click_on "Submit"
6868
You can’t perform that action at this time.
0 commit comments