aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/configuration_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-07-31 17:42:27 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-07-31 17:48:14 +0900
commit4c8c8c87b07844b26564ca6aa2052660e601bc3d (patch)
treec6e1863a91618c017de9c5fd92a8240b177256e7 /railties/test/application/configuration_test.rb
parent511d1abc8ad523aa3592e30b4ecf4dac92a2a352 (diff)
downloadrails-4c8c8c87b07844b26564ca6aa2052660e601bc3d.tar.gz
rails-4c8c8c87b07844b26564ca6aa2052660e601bc3d.tar.bz2
rails-4c8c8c87b07844b26564ca6aa2052660e601bc3d.zip
Address to rubocop offences
Diffstat (limited to 'railties/test/application/configuration_test.rb')
-rw-r--r--railties/test/application/configuration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index cca86bc13a..b44edbc7d3 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -790,7 +790,7 @@ module ApplicationTests
end
get "/"
- assert /csrf\-param/.match?(last_response.body)
+ assert_match(/csrf\-param/, last_response.body)
end
test "default form builder specified as a string" do