Visit method not found in my rspec

前端 未结 6 1906
鱼传尺愫
鱼传尺愫 2020-11-30 03:08

My java web application is running on tomcat at http://localhost:8080/

Writing my first spec, home_spec:

require \'spec_helper\'


d         


        
6条回答
  •  独厮守ぢ
    2020-11-30 03:44

    Regarding to rspec issues (https://github.com/rspec/rspec-rails/issues/360)

    you should put

    config.include Capybara::DSL
    

    in spec_helper.rb, inside the config block.

提交回复
热议问题