Sha256: ae0c61139c2c0cf3f5b8154e3703cac38f3802f3d508dee91c19d010339304d1
Contents?: true
Size: 657 Bytes
Versions: 2
Compression:
Stored size: 657 Bytes
Contents
require 'rubygems' require 'test/unit' gem "actionpack", "3.0.0.rc" gem "activemodel", "3.0.0.rc" require 'action_controller' require 'action_view' require 'action_view/template' require 'active_support' require 'rails/railtie' $:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') require 'menu_builder' Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |f| require f } MenuBuilder::Routes = ActionDispatch::Routing::RouteSet.new MenuBuilder::Routes.draw do match ':controller(/:action(/:id(.:format)))' end class ApplicationController < ActionController::Base; end ActionController::Base.send :include, MenuBuilder::Routes.url_helpers
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
menu_builder-0.3.3 | test/test_helper.rb |
menu_builder-0.3.2 | test/test_helper.rb |