features/support/env.rb in visage-app-0.2.7 vs features/support/env.rb in visage-app-0.3.0
- old
+ new
@@ -8,9 +8,11 @@
require 'rubygems'
require 'spec/expectations'
require 'rack/test'
require 'webrat'
+ENV['CONFIG_PATH'] = @root.join('features/data/config/default')
+
require app_file
# Force the application name because polyglot breaks the auto-detection logic.
Sinatra::Application.app_file = app_file
Webrat.configure do |config|