Visit method not found in my rspec

前端 未结 6 1937
鱼传尺愫
鱼传尺愫 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:33

    First check it out

    If you are not success,

    Add this code your end of the your spec helper actually out of the RSpec.configure block as well

    module ::RSpec::Core
      class ExampleGroup
        include Capybara::DSL
        include Capybara::RSpecMatchers
      end
    end
    

提交回复
热议问题