aboutsummaryrefslogtreecommitdiff
path: root/test/tc_mauve_notification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_mauve_notification.rb')
-rw-r--r--test/tc_mauve_notification.rb14
1 files changed, 4 insertions, 10 deletions
diff --git a/test/tc_mauve_notification.rb b/test/tc_mauve_notification.rb
index 435d5da..6b4c3d1 100644
--- a/test/tc_mauve_notification.rb
+++ b/test/tc_mauve_notification.rb
@@ -114,25 +114,19 @@ class TcMauveNotification < Mauve::UnitTest
include Mauve
def setup
- @logger = setup_logger
- Timecop.freeze(Time.local(2011,8,1,0,0,0,0))
+ super
+ setup_database
end
def teardown
- teardown_logger
- Timecop.return
- DataObjects::Pooling.pools.each{|pool| pool.dispose}
+ teardown_database
+ super
end
def test_notify
t = Time.now
config=<<EOF
-
-server {
- database "sqlite::memory:"
-}
-
person ("test1") {
all { true }
}