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)
This commit is contained in:
Thorsten Eckel 2019-05-28 18:57:15 +02:00
parent 2ac28bf906
commit e27079f0a0
3 changed files with 11 additions and 9 deletions

View file

@ -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)

View file

@ -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

View file

@ -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