Sha256: 5c71c1acf8abe38a5e87ef333a1a6241690eb08b95506d1a384d6b4488c65f6e
Contents?: true
Size: 669 Bytes
Versions: 1
Compression:
Stored size: 669 Bytes
Contents
require 'rubygems' require 'test/unit' gem "actionpack", "3.0.0.beta4" gem "activemodel", "3.0.0.beta4" 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 |map| match ':controller(/:action(/:id(.:format)))' end class ApplicationController < ActionController::Base; end ActionController::Base.send :include, MenuBuilder::Routes.url_helpers
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
menu_builder-0.3.1 | test/test_helper.rb |