test/unit/pigeon_backlog_test.rb in pigeon-1.0.2 vs test/unit/pigeon_backlog_test.rb in pigeon-1.1.0

- old
+ new

@@ -1,14 +1,14 @@ -require File.expand_path(File.join(*%w[ .. helper ]), File.dirname(__FILE__)) +require_relative '../helper' -class PigeonQueueTest < Minitest::Test +class PigeonBacklogTest < Minitest::Test def test_empty_queue queue = Pigeon::Queue.new assert queue.empty? assert_equal 0, queue.length - assert_equal nil, queue.pop + assert_nil queue.pop end def test_queue_cycling engine do queue = Pigeon::Queue.new