aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/resources_test.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-07 23:11:06 +0200
committerXavier Noria <fxn@hashref.com>2016-08-07 23:11:06 +0200
commit04ef46dd90dfd36c7fc7de65f41962a63b1b9b40 (patch)
treee98e8d3fc8b72fa17efb4d5c3fb1dffac304d5c1 /actionpack/test/controller/resources_test.rb
parentcf082927efcd3519cdd84c58f8c24202efcd0fbd (diff)
downloadrails-04ef46dd90dfd36c7fc7de65f41962a63b1b9b40.tar.gz
rails-04ef46dd90dfd36c7fc7de65f41962a63b1b9b40.tar.bz2
rails-04ef46dd90dfd36c7fc7de65f41962a63b1b9b40.zip
adds missing comma in assert call
Diffstat (limited to 'actionpack/test/controller/resources_test.rb')
-rw-r--r--actionpack/test/controller/resources_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb
index 6cb4b83208..91d3072fdb 100644
--- a/actionpack/test/controller/resources_test.rb
+++ b/actionpack/test/controller/resources_test.rb
@@ -1313,8 +1313,8 @@ class ResourcesTest < ActionController::TestCase
def assert_resource_methods(expected, resource, action_method, method)
assert_equal expected.length, resource.send("#{action_method}_methods")[method].size, "#{resource.send("#{action_method}_methods")[method].inspect}"
expected.each do |action|
- assert resource.send("#{action_method}_methods")[method].include?(action)
- "#{method} not in #{action_method} methods: #{resource.send("#{action_method}_methods")[method].inspect}"
+ assert resource.send("#{action_method}_methods")[method].include?(action),
+ "#{method} not in #{action_method} methods: #{resource.send("#{action_method}_methods")[method].inspect}"
end
end