Permalink
Browse files

Moved rails into test directory

  • Loading branch information...
1 parent d6a55f8 commit d877fdaf805b76e983c909fe3f13798354b9197b Justin Knowlden committed Mar 24, 2009
View
@@ -1,2 +1,2 @@
-rails/log/*
-rails/**/*.db
+test/rails/log/*
+test/rails/**/*.db
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,9 +1,9 @@
ENV["RAILS_ENV"] = "test"
-ENV["RAILS_ROOT"] = File.expand_path(File.join(File.dirname(__FILE__), '..', 'rails'))
+ENV["RAILS_ROOT"] = File.expand_path(File.join(File.dirname(__FILE__), '..', 'test', 'rails'))
require File.expand_path(File.join(ENV["RAILS_ROOT"], 'config', 'environment'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'load_model'))
require 'test_help'
-load(File.dirname(__FILE__) + "/../rails/db/schema.rb")
+load(File.join(ENV["RAILS_ROOT"], "db", "schema.rb"))
class User < ActiveRecord::Base
has_many :posts, :conditions => {:published => true}

0 comments on commit d877fda

Please sign in to comment.