Skip to content

Commit

Permalink
Merge pull request #61 from voxik/fix-db-configuration-for-ror-51
Browse files Browse the repository at this point in the history
Make DB configuration compatilble with RoR 5.1.
  • Loading branch information
rafaelfranca committed Jul 4, 2017
2 parents 206cb17 + e6a30f1 commit 5f09c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helper.rb
Expand Up @@ -30,7 +30,7 @@ class ActiveSupport::TestCase
ActiveRecord::Base.raise_in_transactional_callbacks = true
end

ActiveRecord::Base.configurations = { "test" => { adapter: 'sqlite3', database: ':memory:' } }
ActiveRecord::Base.configurations = { 'test' => { 'adapter' => 'sqlite3', 'database' => ':memory:' } }
ActiveRecord::Base.establish_connection(:test)

ActiveRecord::Schema.verbose = false
Expand Down

0 comments on commit 5f09c07

Please sign in to comment.