Sha256: 8231f742a4668ef6cd92a8b6fbacfaaa7d091e558dc4a3c9563fd1b65bb01562
Contents?: true
Size: 559 Bytes
Versions: 7
Compression:
Stored size: 559 Bytes
Contents
require 'action_dispatch' require 'action_view' # A view that behaves like a Rails/ActionView view class RailsView include ActionView::Context # for capture include ActionView::Helpers::RenderingHelper # for render include ActionView::Helpers::TagHelper # for content_tag include ActionView::Helpers::UrlHelper # for link_to include Bh::Helpers def initialize end def request ActionDispatch::Request.new 'REQUEST_METHOD' => 'GET' end def protect_against_forgery? false end def test_button_to_with_block true end end
Version data entries
7 entries across 7 versions & 1 rubygems