aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-11-27 13:58:26 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-11-27 14:21:57 +0900
commit0d8fd6107f47b78f2694a7613648e6fc24374ec2 (patch)
treeec73dba4dc0a1cd51aee00a76964f8fb9ef15d32 /railties/test
parent959d7f73a7825ff7d62b5df3ed8b4ca3006db331 (diff)
downloadrails-0d8fd6107f47b78f2694a7613648e6fc24374ec2.tar.gz
rails-0d8fd6107f47b78f2694a7613648e6fc24374ec2.tar.bz2
rails-0d8fd6107f47b78f2694a7613648e6fc24374ec2.zip
Use Puma 3.11 in newly generated applications
In order to use early hints, need to use Puma 3.11.0 or higher. So, I think that should specify that version in newly generated applications. Ref: https://github.com/puma/puma/commit/f6f3892f4d82638fb7a2a57d993641b1486ee88a
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/app_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index fddfab172e..ff69366875 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -457,7 +457,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
def test_generator_defaults_to_puma_version
run_generator [destination_root]
- assert_gem "puma", "'~> 3.7'"
+ assert_gem "puma", "'~> 3.11'"
end
def test_generator_if_skip_puma_is_given