The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

279288 (2) [Avatar] Offline
#1
I am not sure if I missed something or made a mistake somewhere. When I get to the end of the "TESTING THE TICKETPOLICY" section on page 283, my "editing tickets spec" fails on 'click_link "Edit Ticket"'. The errors is "Capybara::ElementNotFound: Unable to find link "Edit Ticket""
ryanbigg (423) [Avatar] Offline
#2
Hi there,

Could you please upload your code to GitHub as it is right now and give us the link?
279288 (2) [Avatar] Offline
#3
I didn't do a git commit at the time. I added login_as and assign_role! to the before block and then the specs passed again.