mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
adds missing comma in assert call
This commit is contained in:
parent
cf082927ef
commit
04ef46dd90
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue