Sha256: 6e6e6c2e5dcb76e862cc2f64e3daa825c70c3c2c5eae14f2b2a4735709a0f084
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
$:.unshift("#{File.dirname(__FILE__)}/../../../ruby/hash/set_or_append/lib") # Load the plugin testing framework $:.unshift("#{File.dirname(__FILE__)}/../../../test/plugin_test_helper/lib") require 'rubygems' require 'plugin_test_helper' class Test::Unit::TestCase def setup request = ActionController::TestRequest.new request.request_uri = '/contact' request.path_parameters = {:action => 'index', :controller => 'contact'} @controller = HomeController.new @controller.request = request @controller.instance_eval {@_params = request.path_parameters} @controller.send(:initialize_current_url) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
menu_helper-0.0.1 | test/test_helper.rb |