Undefined webrat methods in cucumber step_definitions

前端 未结 3 652
说谎
说谎 2021-02-15 02:47

When i run my features i get this error:

undefined method `visit\' for # (NoMethodError)

This is the r

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-15 03:27

    I also encountered this error on two separate occasions: the first instance the adjustment to confg.mode solved the problem; the second time, however, after a lot of frustration I found a link that suggested a buggy version of bundler could be the culprit. Updating it solved the problem.

提交回复
热议问题