From c4678f93a206478de411a83b7a96c2659283967c Mon Sep 17 00:00:00 2001 From: Thomas Walpole Date: Wed, 26 Dec 2018 15:49:46 -0800 Subject: [PATCH] Add Ruby 2.6 to test matrix --- .travis.yml | 2 +- lib/capybara/spec/session/find_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b60c76d5..638d8d70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ dist: trusty services: - docker rvm: - - 2.5.3 + - 2.6.0 - jruby-9.2.4.0 gemfile: - Gemfile diff --git a/lib/capybara/spec/session/find_spec.rb b/lib/capybara/spec/session/find_spec.rb index ee07bd0f..801c82e4 100644 --- a/lib/capybara/spec/session/find_spec.rb +++ b/lib/capybara/spec/session/find_spec.rb @@ -106,7 +106,7 @@ Capybara::SpecHelper.spec '#find' do expect(@session.find(:xpath, "//input[@id='test_field']").value).to eq('monkey') end - it 'should warn if passed a non-valid locator type', :focus_ do + it 'should warn if passed a non-valid locator type' do expect_any_instance_of(Kernel).to receive(:warn).with(/must respond to to_xpath or be an instance of String/) expect { @session.find(:xpath, 123) }.to raise_error # rubocop:disable RSpec/UnspecifiedException end