・ Ruby: 2.5.7 Rails: 5.2.4 ・ Rspec-rails: 4.0.1 ・ Capybara: 3.32.2 ・ Vagrant: 2.2.7 -VirtualBox: 6.1 ・ OS: macOS Catalina
Capybara cannot be read.
require
spec_helper.rb
require 'capybara/rspec' #Postscript
RSpec.configure do |config|
end
DSL
spec_helper.rb
require 'capybara/rspec'
RSpec.configure do |config|
config.include Capybara::DSL #Postscript
end
Recommended Posts