public
Description: Webrat - Ruby Acceptance Testing for Web applications
Homepage: http://gitrdoc.com/brynary/webrat/tree/master/
Clone URL: git://github.com/brynary/webrat.git
webrat / spec / integration / merb / config / environments / development.rb
100644 16 lines (14 sloc) 0.428 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Merb.logger.info("Loaded DEVELOPMENT Environment...")
Merb::Config.use { |c|
  c[:exception_details] = true
  c[:reload_templates] = true
  c[:reload_classes] = true
  c[:reload_time] = 0.5
  c[:ignore_tampered_cookies] = true
  c[:log_auto_flush ] = true
  c[:log_level] = :debug
 
  c[:log_stream] = STDOUT
  c[:log_file] = nil
  # Or redirect logging into a file:
  # c[:log_file] = Merb.root / "log" / "development.log"
}