summaryrefslogtreecommitdiff
path: root/test/integration/test_setup_test.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-02-04 10:09:40 +0100
committerAzul <azul@riseup.net>2014-02-04 11:46:57 +0100
commit2836e9453618d9cc7dc64cb99651c4e5a40fb11c (patch)
treea1f6740c5e0b7c0679d45788465156a0e97ad71e /test/integration/test_setup_test.rb
parent1765981c8c0c3f2eddfd326e83505910be97e01c (diff)
separate test setup test from actual test
Diffstat (limited to 'test/integration/test_setup_test.rb')
-rw-r--r--test/integration/test_setup_test.rb15
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