I haven an Rspec which has the following:
我有一个Rspec,它有以下几点:
visit '/static_pages/home'
It works fine under Capybara 1.1.2, now when I switch to Capybara 2.0.2 I get an NoMethod exception on visit.
在Capybara 1.1.2的模式下运行得很好,现在当我转到Capybara 2.0.2时,我在访问时遇到了一个NoMethod例外。
What is going wrong?
什么错了吗?
1 个解决方案
#1
0
What testing framework are you using? Have you included Capybara::DSL as specified in the README?
您正在使用什么测试框架?您是否包括了README中指定的Capybara: DSL ?
#1
0
What testing framework are you using? Have you included Capybara::DSL as specified in the README?
您正在使用什么测试框架?您是否包括了README中指定的Capybara: DSL ?