summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/integration/tapicero_test.rb1
-rw-r--r--test/test_helper.rb3
2 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/tapicero_test.rb b/test/integration/tapicero_test.rb
index d436e6d..d32415c 100644
--- a/test/integration/tapicero_test.rb
+++ b/test/integration/tapicero_test.rb
@@ -9,6 +9,7 @@ class TapiceroTest < MiniTest::Unit::TestCase
def test_database_exists
assert database
+ assert_equal "tapicero_test_users", database.name
end
def test_creates_user_db_fast
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 227cde5..4a9ca6b 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -6,5 +6,6 @@ $:.unshift File.expand_path('lib', BASE_DIR)
require 'mocha/setup'
-TAPICERO_CONFIG = "test/config.yaml"
+require 'tapicero/version'
+Tapicero::CONFIGS << "test/config.yaml"
require 'tapicero'