Unable to setup Rspec & Capybara in Rails 3.2

后端 未结 4 511
旧巷少年郎
旧巷少年郎 2021-01-13 10:55

I am creating a sample application for rspec testing, and I followed the below steps In Gemfile:

gem \"rspec-rails\", :group => [:test, :         


        
4条回答
  •  暖寄归人
    2021-01-13 11:42

    You could also just add this to your spec_helper.rb:

    require 'capybara/rspec'
    

提交回复
热议问题