diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-18 07:31:37 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-18 07:31:37 +0000 |
commit | 1e7092801469dfa3805a838b6331183be5c550c7 (patch) | |
tree | 5c250152a1c35421963d30bf622b0c34a44c66fb /activerecord/test/connections/native_sqlite3 | |
parent | 42b39ae3f2991692672364d7e09b1e4002e66261 (diff) | |
download | rails-1e7092801469dfa3805a838b6331183be5c550c7.tar.gz rails-1e7092801469dfa3805a838b6331183be5c550c7.tar.bz2 rails-1e7092801469dfa3805a838b6331183be5c550c7.zip |
Fix paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/connections/native_sqlite3')
-rw-r--r-- | activerecord/test/connections/native_sqlite3/in_memory_connection.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/connections/native_sqlite3/in_memory_connection.rb b/activerecord/test/connections/native_sqlite3/in_memory_connection.rb index b7b348b4db..2adf8b37af 100644 --- a/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +++ b/activerecord/test/connections/native_sqlite3/in_memory_connection.rb @@ -8,11 +8,11 @@ end def make_connection(clazz, db_definitions_file) clazz.establish_connection(:adapter => 'sqlite3', :database => ':memory:') - File.read("#{File.dirname(__FILE__)}/../../fixtures/db_definitions/#{db_definitions_file}").split(';').each do |command| + File.read("#{File.dirname(__FILE__)}/../../schema/#{db_definitions_file}").split(';').each do |command| clazz.connection.execute(command) unless command.strip.empty? end end make_connection(ActiveRecord::Base, 'sqlite.sql') make_connection(Course, 'sqlite2.sql') -load("#{File.dirname(__FILE__)}/../../fixtures/db_definitions/schema.rb") +load("#{File.dirname(__FILE__)}/../../schema/schema.rb") |