From 35adf2cb49eb88d63e04420bbc8437690c0af5ba Mon Sep 17 00:00:00 2001 From: Thomas Walpole Date: Fri, 8 Jun 2018 14:59:03 -0700 Subject: [PATCH] fix remote test --- spec/selenium_spec_chrome_remote.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/selenium_spec_chrome_remote.rb b/spec/selenium_spec_chrome_remote.rb index 81f294ee..690c0378 100644 --- a/spec/selenium_spec_chrome_remote.rb +++ b/spec/selenium_spec_chrome_remote.rb @@ -50,7 +50,7 @@ RSpec.describe "Capybara::Session with chrome" do include_examples "Capybara::Session", TestSessions::Chrome, CHROME_REMOTE_DRIVER include_examples Capybara::RSpecMatchers, TestSessions::Chrome, CHROME_REMOTE_DRIVER - it 'is considered to be chrome' do - expect(session.driver).to be_chrome + it 'is considered to be chrome', :focus_ do + expect(session.driver.send(:chrome?)).to be_truthy end end