aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/base_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-09-16 16:34:36 -0300
committerGitHub <noreply@github.com>2016-09-16 16:34:36 -0300
commit84650022d574d24d6adea6ad941ec3ca57d2a2f0 (patch)
tree07318ea156bb21b19042fe2bebc7a713ab0a02e7 /actionpack/test/controller/base_test.rb
parentc5c1a29be7d435fe569c9e15c22db65768b50318 (diff)
parenta9aed2ac94d2e0d1a233a3c193985ae78d7e79e9 (diff)
downloadrails-84650022d574d24d6adea6ad941ec3ca57d2a2f0.tar.gz
rails-84650022d574d24d6adea6ad941ec3ca57d2a2f0.tar.bz2
rails-84650022d574d24d6adea6ad941ec3ca57d2a2f0.zip
Merge pull request #26516 from grosser/grosser/assert
improve error message when include assertions fail
Diffstat (limited to 'actionpack/test/controller/base_test.rb')
-rw-r--r--actionpack/test/controller/base_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb
index 2edcbc7433..42a5157010 100644
--- a/actionpack/test/controller/base_test.rb
+++ b/actionpack/test/controller/base_test.rb
@@ -194,7 +194,7 @@ class UrlOptionsTest < ActionController::TestCase
get "account/overview"
end
- assert !@controller.class.action_methods.include?("account_overview_path")
+ assert_not_includes @controller.class.action_methods, "account_overview_path"
end
end
end