summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_journal.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_journal.rb b/test/test_journal.rb
index cee8da0f..1e55f54b 100644
--- a/test/test_journal.rb
+++ b/test/test_journal.rb
@@ -3,6 +3,7 @@ $:.unshift File.join(File.dirname(__FILE__), '../lib')
require 'test/unit'
require 'rbot/ircbot'
require 'rbot/journal'
+require 'rbot/journal/postgres.rb'
class JournalMessageTest < Test::Unit::TestCase
@@ -185,3 +186,15 @@ class JournalBrokerTest < Test::Unit::TestCase
end
+class JournalStorageTest < Test::Unit::TestCase
+
+ include Irc::Bot::Journal
+
+ def test_storage
+ s = Storage::PostgresStorage.new(
+ uri: 'postgresql://apoc:seed42@localhost/rbot_journal')
+ assert_equal(true, true)
+ end
+
+end
+