As I updated my bundle, some capybara have_selector(…) matches started to fail. Here was the message :
After some searching, I eventually understood that it was a modification in the behaviour of Capybara 2 that only matches elements in the html body, and not in the head anymore. If trying to match the title, stackoverflow suggests to use :
To match meta tags, I had to resort to the following :
I could do with something nicer, but it’s ok for the moment.