Sha256: 0cfecfe2c62e5b6c814765b6afa53d07ceb287e35349440b4ebd4fec557d878a
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
require_relative "../setup" module BSD::Control class AvailableFeaturesTest < Test::Unit::TestCase def test_available_features_not_empty refute available_features.empty?, "There should have been at least one available feature" end def test_available_features_instance_of assert available_features.all? { _1.instance_of?(BSD::Control::Feature) }, "All available features should be an instance of `BSD::Control::Feature`" end private def available_features BSD::Control.available_features end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hbsdctl.rb-0.1.0 | test/unprivileged/available_features_test.rb |