【发布时间】:2017-10-08 10:15:53
【问题描述】:
我收到“have”方法的未定义方法错误消息。
expect(@gymhomepage.find_your_local_gym).to
have(@gymhomepage.find_your_local_gym.first_gym_location)
我正在尝试断言 first_gym_location css 是否位于 find_your_local_gym 部分中。
Please see my framework on Github
有人有什么建议吗?
【问题讨论】:
-
没有人会在 Github 上阅读您的整个项目,您的问题需要自成一体。
标签: ruby rspec automation cucumber capybara