lib/phlex/testing/rails.rb



# frozen_string_literal: true

require_relative "view_helper"

module Phlex::Testing
	module Rails
		module ViewHelper
			include Phlex::Testing::ViewHelper

			def view_context
				controller.view_context
			end

			def controller
				@controller ||= ActionView::TestCase::TestController.new
			end
		end
	end
end