【发布时间】:2014-06-12 15:59:40
【问题描述】:
我得到它不是 Watir 与 rspec 一起找到我的文本。 以下代码会导致此错误。
- 代码:
browser.text.include?("Coverberechnung").should == true - 错误1:
expected: true got: false (using ==) - 错误2:
Using should from rspec-expectations' old :should syntax without explicitly enabling the syntax is deprecated. Use the new :expect syntax or explicitly enable :should instead. Called from
也许我可以帮忙
【问题讨论】:
标签: ruby rspec watir watir-webdriver assertion