mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix making an extra db file after testing for sqlite3
Testing for sqlite3 makes an extra db file `primary.sqlite3` as below. ``` $ bundle exec rake test:sqlite3 (snip) $ git status On branch test Untracked files: (use "git add <file>..." to include in what will be committed) db/ ```
This commit is contained in:
parent
04fb1a651d
commit
a8009c6d0f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module ActiveRecord
|
||||||
fixtures :people
|
fixtures :people
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@writing_handler = ActiveRecord::Base.connection_handlers[:writing]
|
@writing_handler = ConnectionHandler.new
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
|
|
Loading…
Reference in a new issue