Sha256: 9494d48561cd42420a78bf37bfd6380f1cde7ba12120c0e31e6a80506e0f414f

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

require 'rubygems'
require 'test/unit'

gem "actionpack", "3.0.0"
gem "activemodel", "3.0.0"

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

1 entries across 1 versions & 1 rubygems

Version Path
menu_builder-0.4.0 test/test_helper.rb