Merge pull request #818 from TrangPham/testing-databases
Enable testing different database environments
No related branches found
No related tags found
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- .travis.yml 5 additions, 0 deletions.travis.yml
- Gemfile 15 additions, 0 deletionsGemfile
- Rakefile 55 additions, 0 deletionsRakefile
- gemfiles/Gemfile.ruby1.9.3 4 additions, 0 deletionsgemfiles/Gemfile.ruby1.9.3
- test/database.yml 14 additions, 0 deletionstest/database.yml
- test/db/migrate/001_create_test_schema.rb 54 additions, 0 deletionstest/db/migrate/001_create_test_schema.rb
- test/test_helper.rb 53 additions, 38 deletionstest/test_helper.rb
- test/unit/near_test.rb 12 additions, 1 deletiontest/unit/near_test.rb
... | @@ -22,4 +22,19 @@ group :development, :test do | ... | @@ -22,4 +22,19 @@ group :development, :test do |
end | end | ||
end | end | ||
group :test do | |||
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw] | |||
platforms :ruby do | |||
gem 'pg' | |||
gem 'mysql2' | |||
end | |||
platforms :jruby do | |||
gem 'jdbc-mysql' | |||
gem 'jdbc-sqlite3' | |||
gem 'activerecord-jdbcpostgresql-adapter' | |||
end | |||
end | |||
gemspec | gemspec |
test/database.yml
0 → 100644
test/db/migrate/001_create_test_schema.rb
0 → 100644
Please register or sign in to comment