Sha256: 9c642a7e1862359039735cb8c25bdbda43b31ba095f81341ec8d4bd242ad55bf
Contents?: true
Size: 804 Bytes
Versions: 8
Compression:
Stored size: 804 Bytes
Contents
module Neo module Rails module Presenter module TestHelper def setup Presenter.view_context = FakeViewContext.instance end module_function :setup class FakeViewContext include Singleton include ActionView::Helpers::TagHelper include ActionView::Helpers::UrlHelper include ActionView::Helpers::TranslationHelper include ActionView::Helpers::NumberHelper begin include Sprockets::Rails::Helper rescue NameError include Sprockets::Helpers::RailsHelper include Sprockets::Helpers::IsolatedHelper end include ::Rails.application.routes.url_helpers attr_accessor :output_buffer end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems