diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-02 03:07:48 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-02 03:10:38 -0700 |
commit | 99a1de487400577affdc5e22da253cc710735956 (patch) | |
tree | 08c48c585db8aaf6525483ec80d8947915d44586 /test/rails/test_rails.rb | |
parent | b11f1901e30955bd4154f715db1522374842912e (diff) | |
download | unicorn-99a1de487400577affdc5e22da253cc710735956.tar.gz |
Recent changes made to the unicorn_rails loader were needed to get ActiveRecordStore to load correctly.
Diffstat (limited to 'test/rails/test_rails.rb')
-rw-r--r-- | test/rails/test_rails.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rails/test_rails.rb b/test/rails/test_rails.rb index 67d6892..f6bc67e 100644 --- a/test/rails/test_rails.rb +++ b/test/rails/test_rails.rb @@ -74,6 +74,10 @@ logger Logger.new('#{COMMON_TMP.path}') Dir.chdir("#@tmpdir/vendor/rails") do system('git', 'reset', '-q', '--hard', "v#{UNICORN_RAILS_TEST_VERSION}") end + + assert(system('rake', 'db:sessions:create')) + assert(system('rake', 'db:migrate')) + @addr = ENV['UNICORN_TEST_ADDR'] || '127.0.0.1' @port = unused_port(@addr) @start_pid = $$ |