From e27079f0a0e547f2572509c95339b9f17b2a004e Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 28 May 2019 18:57:15 +0200 Subject: [PATCH] Bump capybara from 2.18.0 to 3.21.0 Bumps [capybara](https://github.com/teamcapybara/capybara) from 2.18.0 to 3.21.0. - [Release notes](https://github.com/teamcapybara/capybara/releases) - [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md) - [Commits](https://github.com/teamcapybara/capybara/compare/2.18.0...3.21.0) --- Gemfile | 2 +- Gemfile.lock | 14 ++++++++------ spec/system/basic/richtext_spec.rb | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 2927f79d3..117c84af7 100644 --- a/Gemfile +++ b/Gemfile @@ -148,7 +148,7 @@ group :development, :test do gem 'simplecov-rcov' # UI tests w/ Selenium - gem 'capybara', '~> 2.13' + gem 'capybara' gem 'selenium-webdriver' # livereload on template changes (html, js, css) diff --git a/Gemfile.lock b/Gemfile.lock index 6de36b78a..db2f1514a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -112,13 +112,14 @@ GEM buftok (0.2.0) builder (3.2.3) byebug (11.0.1) - capybara (2.18.0) + capybara (3.21.0) addressable mini_mime (>= 0.1.3) - nokogiri (>= 1.3.3) - rack (>= 1.0.0) - rack-test (>= 0.5.4) - xpath (>= 2.0, < 4.0) + nokogiri (~> 1.8) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (~> 1.5) + xpath (~> 3.2) childprocess (1.0.1) rake (< 13.0) clavius (1.0.4) @@ -393,6 +394,7 @@ GEM rb-inotify (0.10.0) ffi (~> 1.0) rchardet (1.8.0) + regexp_parser (1.5.1) rest-client (2.0.2) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) @@ -537,7 +539,7 @@ DEPENDENCIES biz browser byebug - capybara (~> 2.13) + capybara clearbit coffee-rails coffee-script-source diff --git a/spec/system/basic/richtext_spec.rb b/spec/system/basic/richtext_spec.rb index 1a5e9455e..b9d5bd2e6 100644 --- a/spec/system/basic/richtext_spec.rb +++ b/spec/system/basic/richtext_spec.rb @@ -33,7 +33,7 @@ RSpec.describe 'Richtext', type: :system do 'and some other for browser' ) - expect(element).to have_content("some test for browser \nand some other for browser") + expect(element).to have_content(/some test for browser\s?\nand some other for browser/) end end @@ -49,7 +49,7 @@ RSpec.describe 'Richtext', type: :system do 'and some other for browser' ) - expect(element).to have_content("some test for browser \nand some other for browser") + expect(element).to have_content(/some test for browser\s?\nand some other for browser/) end end end