Project

General

Profile

Feature #29914 » 0010-Fix-ArgumentError-wrong-number-of-arguments-given-1-.patch

Marius BĂLTEANU, 2021-03-30 18:41

View differences:

test/unit/lib/redmine/hook_test.rb
184 184
    @hook_helper ||= TestHookHelperController.new
185 185
  end
186 186

  
187
  def lookup_context
188
    @lookup_context ||= ActionView::LookupContext.new(ActionView::PathSet.new([Rails.root.join('app/views')]))
189
  end
190

  
187 191
  def view_hook_helper
188
    @view_hook_helper ||= TestHookHelperView.new(Rails.root.to_s + '/app/views')
192
    @view_hook_helper ||= TestHookHelperView.new(lookup_context, {}, hook_helper)
189 193
  end
190 194
end
(2-2/21)