Instiki 0.17.2: Security Release
This release upgrades Instiki to Rails 2.3.4, which patches two security holes in Rails. See http://weblog.rubyonrails.org/2009/9/4/ruby-on-rails-2-3-4 There are also some new features, and the usual boatload of bugfixes. See the CHANGELOG for details.
This commit is contained in:
parent
34c4306867
commit
4bdf703ab2
211 changed files with 3959 additions and 1325 deletions
|
@ -1,5 +1,6 @@
|
|||
require 'abstract_unit'
|
||||
require 'controller/fake_controllers'
|
||||
require 'action_controller/routing/route_set'
|
||||
|
||||
class MilestonesController < ActionController::Base
|
||||
def index() head :ok end
|
||||
|
@ -742,7 +743,7 @@ class MockController
|
|||
end
|
||||
end
|
||||
|
||||
class LegacyRouteSetTests < Test::Unit::TestCase
|
||||
class LegacyRouteSetTests < ActiveSupport::TestCase
|
||||
attr_reader :rs
|
||||
|
||||
def setup
|
||||
|
@ -758,6 +759,10 @@ class LegacyRouteSetTests < Test::Unit::TestCase
|
|||
@rs.clear!
|
||||
end
|
||||
|
||||
def test_routes_for_controller_and_action_deprecated
|
||||
assert_deprecated { @rs.routes_for_controller_and_action("controller", "action") }
|
||||
end
|
||||
|
||||
def test_default_setup
|
||||
@rs.draw {|m| m.connect ':controller/:action/:id' }
|
||||
assert_equal({:controller => "content", :action => 'index'}, rs.recognize_path("/content"))
|
||||
|
@ -1605,7 +1610,7 @@ class RouteTest < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
class RouteSetTest < Test::Unit::TestCase
|
||||
class RouteSetTest < ActiveSupport::TestCase
|
||||
def set
|
||||
@set ||= ROUTING::RouteSet.new
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue