Permalink
Browse files

Fixed require paths in spec_helper

  • Loading branch information...
1 parent 12427d7 commit 2bdf85a1cf7bd7fce44b7497909ac5b83574273e DanielVartanov committed Sep 22, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/spec_helper.rb
View
@@ -14,9 +14,9 @@ def setup_active_record
Dir[File.join(File.dirname(__FILE__), 'spec_helpers', '**', '*.rb')].each { |helper| require helper }
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
+$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
__DIR__ = File.dirname(__FILE__)
-require File.expand_path(File.join(__DIR__, '..', '..', 'init'))
+require File.expand_path(File.join(__DIR__, '..', 'init'))
require File.expand_path(File.join(__DIR__, 'class_stubs', 'model_base'))
require File.expand_path(File.join(__DIR__, 'class_stubs', 'user'))
require File.expand_path(File.join(__DIR__, 'class_stubs', 'customer'))
@@ -44,4 +44,4 @@ def setup_active_record
"sle" => "http://www.microsoft.com/schemas/rss/core/2005",
"bb" => "http://www.billingboss.com/schemas/sdata"
},
- :show_stack_trace => true}
+ :show_stack_trace => true}

0 comments on commit 2bdf85a

Please sign in to comment.