diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-02-05 12:56:31 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-02-05 12:56:31 +0000 |
commit | 88c71f6c09dc0b59dfeb6fc1f09d38b734db9688 (patch) | |
tree | 1a4ef8aae58612d812d09e303feaabd898782364 | |
parent | 06fd4da75ea15beb8aaa7c054a8ec38930a9d8c8 (diff) |
Test that "flush!" is defined as a method.
-rwxr-xr-x | t/test-custodian-queue.rb | 6 |
1 files changed, 4 insertions, 2 deletions
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 |