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

- old
+ new

@@ -1,8 +1,8 @@ # -# Testing OpenWFE +# Testing Rufus # # John Mettraux at openwfe.org # # Fri Apr 18 11:29:18 JST 2008 # @@ -23,12 +23,12 @@ #def teardown #end def test_0 - scheduler = OpenWFE::Scheduler.new - scheduler.sstart + scheduler = Rufus::Scheduler.new + scheduler.start sleep 0.350 if defined?(JRUBY_VERSION) t = scheduler.instance_variable_get(:@scheduler_thread) @@ -37,11 +37,11 @@ scheduler.stop end def test_1 - scheduler = OpenWFE::Scheduler.new :thread_name => "genjiguruma" - scheduler.sstart + scheduler = Rufus::Scheduler.new :thread_name => "genjiguruma" + scheduler.start sleep 0.350 if defined?(JRUBY_VERSION) t = scheduler.instance_variable_get(:@scheduler_thread)