Skip to content

Commit 0f43111

Browse files
nganjavierjulio
authored andcommitted
Include is now public
1 parent 00d447b commit 0f43111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/rails/rails_spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def form_authenticity_token(form_options: {})
3333

3434
def mock_action_view(assigns = {})
3535
controller = ActionView::TestCase::TestController.new
36-
ActionView::Base.send :include, ActionView::Helpers
37-
ActionView::Base.send :include, AdditionalHelpers
36+
ActionView::Base.include(ActionView::Helpers)
37+
ActionView::Base.include(AdditionalHelpers)
3838
context = ActionView::LookupContext.new(ActionController::Base.view_paths)
3939
ActionView::Base.new(context, assigns, controller)
4040
end

0 commit comments

Comments
 (0)