RSpec and Capybara: how to let have_css with text: ignore line breaks in text

后端 未结 0 1169
攒了一身酷
攒了一身酷 2020-12-12 02:04

I have just upgraded my Rails app from Rails 5 to 6.

Now the following assertion doesn\'t work anymore:

expect(page).to have_css \'.active a\', text: &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题