save_and_open_page (capybara / launchy) stopped working in a project - error

前端 未结 1 1596
孤独总比滥情好
孤独总比滥情好 2020-12-18 11:07

Trying to debug a section of specs that I cannot get to work when merging Rails two projects.

I have deleted my Gemfile.lock and re-installed from scratch, I have ru

相关标签:
1条回答
  • 2020-12-18 12:07

    Try calling save_and_open_page from inside an it block:

    So instead of:

    it { should have_error_message('Invalid') }
    
    save_and_open_page
    

    Try this:

    it { should have_error_message('Invalid'); save_and_open_page }
    

    Fixed it for me tonight

    0 讨论(0)
提交回复
热议问题