test/scheduler_2_test.rb in rufus-scheduler-1.0.6 vs test/scheduler_2_test.rb in rufus-scheduler-1.0.7

- old
+ new

@@ -1,8 +1,8 @@ # -# Testing OpenWFE +# Testing Rufus # # John Mettraux at openwfe.org # # Sun Oct 29 16:18:25 JST 2006 # @@ -22,12 +22,12 @@ #def teardown #end def test_0 - scheduler = OpenWFE::Scheduler.new - scheduler.sstart + scheduler = Rufus::Scheduler.new + scheduler.start counter = 0 $error_counter = 0 def scheduler.lwarn (&block) @@ -50,12 +50,12 @@ def test_1 # repeating myself - scheduler = OpenWFE::Scheduler.new - scheduler.sstart + scheduler = Rufus::Scheduler.new + scheduler.start counter = 0 $error_counter = 0 def scheduler.lwarn (&block) @@ -76,12 +76,12 @@ assert_equal 1, $error_counter, "error count wrong" end def test_2 - scheduler = OpenWFE::Scheduler.new - scheduler.sstart + scheduler = Rufus::Scheduler.new + scheduler.start def scheduler.lwarn (&block) puts block.call end @@ -99,11 +99,11 @@ def test_3 # repeating myself ... - scheduler = OpenWFE::Scheduler.new - scheduler.sstart + scheduler = Rufus::Scheduler.new + scheduler.start def scheduler.lwarn (&block) puts block.call end