test/test_helper.rb in menu_builder-0.3.1 vs test/test_helper.rb in menu_builder-0.3.2
- old
+ new
@@ -1,10 +1,10 @@
require 'rubygems'
require 'test/unit'
-gem "actionpack", "3.0.0.beta4"
-gem "activemodel", "3.0.0.beta4"
+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'
@@ -14,10 +14,10 @@
require 'menu_builder'
Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |f| require f }
MenuBuilder::Routes = ActionDispatch::Routing::RouteSet.new
-MenuBuilder::Routes.draw do |map|
+MenuBuilder::Routes.draw do
match ':controller(/:action(/:id(.:format)))'
end
class ApplicationController < ActionController::Base; end
ActionController::Base.send :include, MenuBuilder::Routes.url_helpers
\ No newline at end of file