Skip to content

Commit

Permalink
Moved rails into test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Knowlden committed Mar 24, 2009
1 parent d6a55f8 commit d877fda
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
@@ -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.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/test_helper.rb
@@ -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}
Expand Down

0 comments on commit d877fda

Please sign in to comment.