summaryrefslogtreecommitdiff
path: root/test/integration/test_setup_test.rb
blob: 525c14d47f9544fbce912c722515edd3efdd670f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require_relative '../test_helper.rb'

class TestSetupTest < Tapicero::IntegrationTest

  def test_loads_config
    assert_equal "tapicero_test", config.connection[:prefix]
    assert_equal "debug", config.send(:log_level)
  end

  def test_database_exists
    assert database
    assert_equal "tapicero_test_users", database.name
  end

end