Sha256: df166d18c506a13f68d7178a9e2cf4c218df073c0d015cbdc58aaa69a3f9e427
Contents?: true
Size: 611 Bytes
Versions: 8
Compression:
Stored size: 611 Bytes
Contents
require 'rubygems' require 'test/unit' require 'action_controller' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'active_link_to' # need this to simulate requests that drive active_link_helper module FakeRequest class Request attr_accessor :fullpath end def request @request ||= Request.new end def params @params ||= {} end end ActiveLinkTo.send :include, FakeRequest class Test::Unit::TestCase include ActionView::Helpers::UrlHelper include ActionView::Helpers::TagHelper include ActiveLinkTo end
Version data entries
8 entries across 8 versions & 1 rubygems