diff options
author | jessib <jessib@riseup.net> | 2014-02-04 10:33:27 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2014-02-04 10:33:27 -0800 |
commit | c7f376cdc02fe10c7e2a51c7d52475ab34451577 (patch) | |
tree | 75c52cbbd43bb55d155c301855677fcba123a2c7 /test/integration/test_setup_test.rb | |
parent | cda7ebacf35bcc0fcf233e5a23b958ed751fb108 (diff) | |
parent | c3cb71ca5e6d32960e4493d85799f3706ea91fe8 (diff) |
Merge pull request #9 from azul/test/integration-with-travis
Test/integration with travis
Diffstat (limited to 'test/integration/test_setup_test.rb')
-rw-r--r-- | test/integration/test_setup_test.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/test_setup_test.rb b/test/integration/test_setup_test.rb new file mode 100644 index 0000000..525c14d --- /dev/null +++ b/test/integration/test_setup_test.rb @@ -0,0 +1,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 |