mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add Capybara::RSpecMatchers to some tests that should include it
This commit is contained in:
parent
922d661476
commit
6d18eea5ab
3 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
RSpec.describe Capybara do
|
||||
include Capybara::RSpecMatchers
|
||||
describe '.string' do
|
||||
let :string do
|
||||
described_class.string <<-STRING
|
||||
|
|
|
@ -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 }
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
RSpec.describe Capybara do
|
||||
include Capybara::RSpecMatchers
|
||||
describe 'Selectors' do
|
||||
let :string do
|
||||
described_class.string <<-STRING
|
||||
|
|
Loading…
Reference in a new issue