diff options
author | Matthias Hecker <apoc@geekosphere.org> | 2015-06-14 03:01:25 +0200 |
---|---|---|
committer | Matthias Hecker <apoc@geekosphere.org> | 2015-06-14 03:01:25 +0200 |
commit | 830c8d7d6be5d0bda2df05ff5a2383362e39f8d4 (patch) | |
tree | 6c131322968b0ea9f351ac7537f082613a8bbad4 /test | |
parent | d864b0348f25d845fa312cedfd5011b2d25022dc (diff) |
journal: started implementing postgres storage
Diffstat (limited to 'test')
-rw-r--r-- | test/test_journal.rb | 13 |
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 + |