spec/site_spec.rb in taza-0.9.0 vs spec/site_spec.rb in taza-0.9.1
- old
+ new
@@ -4,10 +4,11 @@
require 'taza/settings'
require 'taza/options'
require 'taza/browser'
require 'taza/page'
require 'taza/flow'
-
+root_path=File.join(File.dirname(__FILE__), '../')
+$LOAD_PATH.unshift root_path unless $LOAD_PATH.include?(root_path)
describe Taza::Site do
before :all do
@pages_path = File.join("spec","sandbox","pages","foo","**","*.rb")
@flows_path = File.join("spec","sandbox","flows","*.rb")