From 2836e9453618d9cc7dc64cb99651c4e5a40fb11c Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 4 Feb 2014 10:09:40 +0100 Subject: separate test setup test from actual test --- test/integration/test_setup_test.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/integration/test_setup_test.rb (limited to 'test/integration/test_setup_test.rb') 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 -- cgit v1.2.3