lib/simplate/copies/spec_helper.rb in simplate-0.1.0 vs lib/simplate/copies/spec_helper.rb in simplate-0.1.1

- old
+ new

@@ -1,8 +1,8 @@ require 'rubygems' -pathname_modules = Pathname.new(Dir.pwd).parent.join("lib/modules") -pathname_models = Pathname.new(Dir.pwd).parent.join("lib/models") +pathname_modules = Pathname.new(Dir.pwd).join("lib/modules") +pathname_models = Pathname.new(Dir.pwd).join("lib/models") Dir["#{pathname_modules}/*.rb"].each {|file| require file} Dir["#{pathname_models}/*.rb"].each {|file| require file} RSpec.configure do |config|