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
Try calling save_and_open_page from inside an it block:
save_and_open_page
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