Sha256: 93b6c75dd17d7d27416a0e269afd860a265680ba7f3dd7bad117522af61b3fe3
Contents?: true
Size: 622 Bytes
Versions: 3
Compression:
Stored size: 622 Bytes
Contents
require 'test_helper' class DatabaseTest < ActiveSupport::TestCase def setup clean_db end test "tables" do ["accounts", "comments", "contacts", "legacy_accounts", "payments", "projects", "projects_users", "users"].each do |t| assert RailsDb::Database.tables.include?(t) end end test "accessible tables" do ["accounts", "comments", "contacts", "legacy_accounts", "payments", "projects", "projects_users", "users"].each do |t| assert RailsDb::Database.accessible_tables.include?(t) end end test 'adapter' do assert_not_equal RailsDb::Database.adapter.to_s, "" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_db-1.6.0 | test/database_test.rb |
rails_db-1.5.0 | test/database_test.rb |
rails_db-1.4.1 | test/database_test.rb |