Instiki 0.16.3: Rails 2.3.0
Instiki now runs on the Rails 2.3.0 Candidate Release. Among other improvements, this means that it now automagically selects between WEBrick and Mongrel. Just run ./instiki --daemon
This commit is contained in:
parent
43aadecc99
commit
4e14ccc74d
893 changed files with 71965 additions and 28511 deletions
10
vendor/rails/railties/test/console_app_test.rb
vendored
10
vendor/rails/railties/test/console_app_test.rb
vendored
|
@ -4,6 +4,7 @@ require 'action_controller' # console_app uses 'action_controller/integration'
|
|||
|
||||
unless defined? ApplicationController
|
||||
class ApplicationController < ActionController::Base; end
|
||||
ActionController::Base.session_store = nil
|
||||
end
|
||||
|
||||
require 'dispatcher'
|
||||
|
@ -13,6 +14,15 @@ require 'console_app'
|
|||
Test::Unit.run = false
|
||||
|
||||
class ConsoleAppTest < Test::Unit::TestCase
|
||||
def test_app_method_should_return_integration_session
|
||||
assert_nothing_thrown do
|
||||
console_session = app
|
||||
assert_not_nil console_session
|
||||
assert_instance_of ActionController::Integration::Session,
|
||||
console_session
|
||||
end
|
||||
end
|
||||
|
||||
uses_mocha 'console reload test' do
|
||||
def test_reload_should_fire_preparation_callbacks
|
||||
a = b = c = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue