1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Correct RSpec/ClassCheck

This commit is contained in:
ydah 2022-09-23 07:33:33 +09:00
parent e07b2bd712
commit a12fbf99e5

View file

@ -7,7 +7,7 @@ Capybara::SpecHelper.spec '#current_scope' do
context 'when not in a #within block' do
it 'should return the document' do
expect(@session.current_scope).to be_kind_of Capybara::Node::Document
expect(@session.current_scope).to be_a Capybara::Node::Document
end
end