features/support/env.rb in visage-app-1.0.0 vs features/support/env.rb in visage-app-2.0.0
- old
+ new
@@ -1,17 +1,16 @@
#!/usr/bin/env ruby
+require 'rubygems'
require 'pathname'
@root = Pathname.new(File.dirname(__FILE__)).parent.parent.expand_path
app_file = @root.join('lib/visage-app')
-require 'rubygems'
-require 'spec/expectations'
require 'rack/test'
require 'webrat'
-ENV['CONFIG_PATH'] = @root.join('features/data/config/default')
+ENV['CONFIG_PATH'] = @root.join('features/support/config/default')
require app_file
# Force the application name because polyglot breaks the auto-detection logic.
Sinatra::Application.app_file = app_file