Flowdock
method

make_test_case_available_to_view!

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionView::TestCase::Behavior

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

make_test_case_available_to_view!() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/test_case.rb, line 181
      def make_test_case_available_to_view!
        test_case_instance = self
        _helpers.module_eval do
          unless private_method_defined?(:_test_case)
            define_method(:_test_case) { test_case_instance }
            private :_test_case
          end
        end
      end
Register or log in to add new notes.