spec/features/support/env.rb in middleman-react-0.0.2 vs spec/features/support/env.rb in middleman-react-0.10.0
- old
+ new
@@ -1,9 +1,7 @@
ENV["TEST"] = "true"
-ENV["AUTOLOAD_SPROCKETS"] = "false"
-PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
+PROJECT_ROOT_PATH = File.join(File.dirname(__FILE__), '../../../')
require "middleman-core"
require "middleman-core/step_definitions"
-
-# require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-react')
+require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-react')