Fixed development environment
This commit is contained in:
parent
f58d9a80d5
commit
1bb4747a0f
2 changed files with 2 additions and 2 deletions
|
@ -2,4 +2,4 @@ Dependencies.mechanism = :require
|
||||||
ActionController::Base.consider_all_requests_local = true
|
ActionController::Base.consider_all_requests_local = true
|
||||||
ActionController::Base.perform_caching = false
|
ActionController::Base.perform_caching = false
|
||||||
BREAKPOINT_SERVER_PORT = 42531
|
BREAKPOINT_SERVER_PORT = 42531
|
||||||
ActionController::Base.logger.level = Logger::DEBUG
|
INSTIKI_DEBUG_LOG = true unless defined? INSTIKI_DEBUG_LOG
|
||||||
|
|
|
@ -11,7 +11,7 @@ unless defined? TEST_LOGGER
|
||||||
$stderr.puts "To see the Rails log:\n less #{log_name}"
|
$stderr.puts "To see the Rails log:\n less #{log_name}"
|
||||||
|
|
||||||
TEST_LOGGER = ActionController::Base.logger = Logger.new(log_name)
|
TEST_LOGGER = ActionController::Base.logger = Logger.new(log_name)
|
||||||
ActionController::Base.logger.level = Logger::DEBUG
|
INSTIKI_DEBUG_LOG = true unless defined? INSTIKI_DEBUG_LOG
|
||||||
|
|
||||||
WikiService.storage_path = RAILS_ROOT + '/storage/test/'
|
WikiService.storage_path = RAILS_ROOT + '/storage/test/'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue