Sha256: 03498a1312399c7e5f911e2175b75b844fbd906b57acaf4bf92adfb7cf40dbf4

Contents?: true

Size: 418 Bytes

Versions: 10

Compression:

Stored size: 418 Bytes

Contents

require 'minitest/autorun'

require 'nugrant/helper/bag'

module Nugrant
  module Helper
    class TestBag < ::Minitest::Test
      def test_restricted_keys_contains_hash_ones
        keys = Helper::Bag.restricted_keys()
        Hash.instance_methods.each do |method|
          assert_includes(keys, method, "Restricted keys must include Hash method #{method}")
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nugrant-2.1.3 test/lib/nugrant/helper/test_bag.rb
nugrant-2.1.2 test/lib/nugrant/helper/test_bag.rb
nugrant-2.1.1 test/lib/nugrant/helper/test_bag.rb
nugrant-2.1.0 test/lib/nugrant/helper/test_bag.rb
nugrant-2.0.2 test/lib/nugrant/helper/test_bag.rb
nugrant-2.0.1 test/lib/nugrant/helper/test_bag.rb
nugrant-2.0.0 test/lib/nugrant/helper/test_bag.rb
nugrant-2.0.0.rc1 test/lib/nugrant/helper/test_bag.rb
nugrant-2.0.0.pre2 test/lib/nugrant/helper/test_bag.rb
nugrant-2.0.0.pre1 test/lib/nugrant/helper/test_bag.rb