diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-07 23:11:06 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-08-07 23:11:06 +0200 |
commit | 04ef46dd90dfd36c7fc7de65f41962a63b1b9b40 (patch) | |
tree | e98e8d3fc8b72fa17efb4d5c3fb1dffac304d5c1 /actionpack/test/controller | |
parent | cf082927efcd3519cdd84c58f8c24202efcd0fbd (diff) | |
download | rails-04ef46dd90dfd36c7fc7de65f41962a63b1b9b40.tar.gz rails-04ef46dd90dfd36c7fc7de65f41962a63b1b9b40.tar.bz2 rails-04ef46dd90dfd36c7fc7de65f41962a63b1b9b40.zip |
adds missing comma in assert call
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/resources_test.rb | 4 |
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 |