aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2018-04-10 16:37:17 -0400
committereileencodes <eileencodes@gmail.com>2018-04-10 16:40:14 -0400
commit72f17d59e40c95d08edb893b898145a7bf68d1a2 (patch)
treec6dd5986636d119e92f16a74f505362302f4c1fc
parent561aad0c186103232c094e38d4d3fe4ea4c083f3 (diff)
downloadrails-72f17d59e40c95d08edb893b898145a7bf68d1a2.tar.gz
rails-72f17d59e40c95d08edb893b898145a7bf68d1a2.tar.bz2
rails-72f17d59e40c95d08edb893b898145a7bf68d1a2.zip
Remove upper bound on Capybara
There's no reason to block future versions of Capybara since we don't _know_ they are going to break. How will we know if we have a conservative option set? This change prevents us from blocking users who want to upgrade in the future.
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock2
-rw-r--r--actionpack/lib/action_dispatch/system_test_case.rb2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile.tt2
4 files changed, 4 insertions, 4 deletions
diff --git a/Gemfile b/Gemfile
index 6ae11c1fb2..e350e31bd2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,7 +11,7 @@ gem "rake", ">= 11.1"
gem "mocha"
-gem "capybara", ">= 2.15", "< 4.0"
+gem "capybara", ">= 2.15"
gem "rack-cache", "~> 1.2"
gem "coffee-rails"
diff --git a/Gemfile.lock b/Gemfile.lock
index dba0848cd7..56d62e564f 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -506,7 +506,7 @@ DEPENDENCIES
blade-sauce_labs_plugin
bootsnap (>= 1.1.0)
byebug
- capybara (>= 2.15, < 4.0)
+ capybara (>= 2.15)
chromedriver-helper
coffee-rails
connection_pool
diff --git a/actionpack/lib/action_dispatch/system_test_case.rb b/actionpack/lib/action_dispatch/system_test_case.rb
index d06ff0c804..c74c0ccced 100644
--- a/actionpack/lib/action_dispatch/system_test_case.rb
+++ b/actionpack/lib/action_dispatch/system_test_case.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-gem "capybara", ">= 2.15", "< 4.0"
+gem "capybara", ">= 2.15"
require "capybara/dsl"
require "capybara/minitest"
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt
index 89263070ef..5e7455cdc7 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt
@@ -69,7 +69,7 @@ end
<%- if depends_on_system_test? -%>
group :test do
# Adds support for Capybara system testing and selenium driver
- gem 'capybara', '>= 2.15', '< 4.0'
+ gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'