From ca99b0dff974d2fc841d7132d03b3ad1d1bf9b1e Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Mon, 23 Apr 2012 11:37:38 +0100 Subject: People/PeopleLists can now specify individualy notification times/frequencies * Added PeopleList builder * Added Person#during, PeopleList#during, Person#every, PeopleList#every * Notification now uses #during/#every from the Person/PeopleList if nothing was specified * Added tests --- test/tc_mauve_configuration_builder.rb | 54 +--------------- .../tc_mauve_configuration_builders_people_list.rb | 72 ++++++++++++++++++++++ test/tc_mauve_configuration_builders_person.rb | 27 ++++++++ 3 files changed, 100 insertions(+), 53 deletions(-) create mode 100644 test/tc_mauve_configuration_builders_people_list.rb (limited to 'test') diff --git a/test/tc_mauve_configuration_builder.rb b/test/tc_mauve_configuration_builder.rb index faa0bfa..1288b5d 100644 --- a/test/tc_mauve_configuration_builder.rb +++ b/test/tc_mauve_configuration_builder.rb @@ -3,7 +3,7 @@ $:.unshift "../lib/" require 'th_mauve' require 'mauve/configuration_builder' -class TcMauveConfigurationBuildersPeopleAndSourceLists < Mauve::UnitTest +class TcMauveConfigurationBuilder < Mauve::UnitTest def setup setup_logger @@ -13,58 +13,6 @@ class TcMauveConfigurationBuildersPeopleAndSourceLists < Mauve::UnitTest teardown_logger end - def test_people_list - config =<