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 | 9ba42540854697fbba2a17e97b8e3cb5dde08012 (patch) | |
| tree | cc2ed8a8753575ac5c50ecd0c0d09053f015f3c4 | |
| parent | 51cde2fbb6c21721469f8641b0f54a2b43555d96 (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 | 
