From 9ba42540854697fbba2a17e97b8e3cb5dde08012 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 5 Feb 2015 12:56:31 +0000 Subject: Test that "flush!" is defined as a method. --- t/test-custodian-queue.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/test-custodian-queue.rb b/t/test-custodian-queue.rb index 7e5d0d9..0170ef1 100755 --- a/t/test-custodian-queue.rb +++ b/t/test-custodian-queue.rb @@ -55,10 +55,11 @@ class TestCustodianQueue < Test::Unit::TestCase # # here we're testing we've got a derived class that has - # implemented "def size?" + # implemented the methods "size?" & "flush!" # assert_nothing_raised do q.size? + q.flush! end end @@ -72,10 +73,11 @@ class TestCustodianQueue < Test::Unit::TestCase # # here we're testing we've got a derived class that has - # implemented "def size?" + # implemented the methods "size?" & "flush!" # assert_nothing_raised do q.size? + q.flush! end -- cgit v1.2.1