Add Capybara::RSpecMatchers to some tests that should include it

This commit is contained in:
Thomas Walpole 2020-07-04 14:05:29 -07:00
parent 922d661476
commit 6d18eea5ab
3 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
require 'spec_helper'
RSpec.describe Capybara do
include Capybara::RSpecMatchers
describe '.string' do
let :string do
described_class.string <<-STRING

View File

@ -38,6 +38,7 @@ Capybara::SpecHelper.run_specs TestSessions::RackTest, 'RackTest', capybara_skip
end
RSpec.describe Capybara::Session do # rubocop:disable RSpec/MultipleDescribes
include Capybara::RSpecMatchers
context 'with rack test driver' do
let(:session) { TestSessions::RackTest }

View File

@ -3,6 +3,7 @@
require 'spec_helper'
RSpec.describe Capybara do
include Capybara::RSpecMatchers
describe 'Selectors' do
let :string do
described_class.string <<-STRING