Sha256: 29da78246bef526de21110728d49901cd5e5ef054ddffcaa5b0ba4207b9b57a2

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

Dependencies.mechanism = :require
ActionController::Base.consider_all_requests_local = true
ActionController::Base.perform_caching = false

require 'fileutils'
FileUtils.mkdir_p(RAILS_ROOT + "/log")

unless defined? TEST_LOGGER
  timestamp = Time.now.strftime('%Y%m%d%H%M%S')
  log_name = RAILS_ROOT + "/log/instiki_test.#{timestamp}.log"
  $stderr.puts "To see the Rails log:\n    less #{log_name}"
  
  TEST_LOGGER = ActionController::Base.logger = Logger.new(log_name)
  $instiki_debug_logging = true
  
  WikiService.storage_path = RAILS_ROOT + '/storage/test/'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
instiki-0.10.2 config/environments/test.rb