diff options
author | Lee Jarvis <ljjarvis@gmail.com> | 2013-06-16 09:57:15 +0100 |
---|---|---|
committer | Lee Jarvis <ljjarvis@gmail.com> | 2013-08-13 20:35:16 +0100 |
commit | 9af8dae80f14ade1b04bd9c36b5ad39e9e039965 (patch) | |
tree | b7030d3da366ec108127d3e44a51a18c1600a9fc /test | |
parent | e5b41c5629957e27a86ca4b785baaae9e1b01df0 (diff) | |
download | slop-9af8dae80f14ade1b04bd9c36b5ad39e9e039965.tar.gz |
Slop is no longer enumerable, you should use Slop#options
Diffstat (limited to 'test')
-rw-r--r-- | test/slop_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/slop_test.rb b/test/slop_test.rb index 02fbdc7..d215440 100644 --- a/test/slop_test.rb +++ b/test/slop_test.rb @@ -23,14 +23,6 @@ class SlopTest < TestCase $stdout = STDOUT end - test "includes Enumerable" do - assert_includes Slop.included_modules, Enumerable - end - - test "enumerates Slop::Option objects in #each" do - Slop.new { on :f; on :b; }.each { |o| assert_kind_of Slop::Option, o } - end - test "build_option" do assert_equal ['f', nil, nil, {}], build_option(:f) assert_equal [nil, 'foo', nil, {}], build_option(:foo) |