Sha256: a4e228cb5d668092fd353b8ad5c095b7168eb1e9d3f35cc96733706ddf53a008

Contents?: true

Size: 478 Bytes

Versions: 10

Compression:

Stored size: 478 Bytes

Contents

require 'minitest/autorun'

require 'nugrant/bag'
require 'nugrant/helper/parameters'

module Nugrant
  module Helper
    class TestParameters < ::Minitest::Test
      def test_restricted_keys_contains_hash_ones
        keys = Helper::Parameters.restricted_keys()
        Nugrant::Bag.instance_methods.each do |method|
          assert_includes(keys, method, "Restricted keys must include Nugrant::Bag 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_parameters.rb
nugrant-2.1.2 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.1.1 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.1.0 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.0.2 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.0.1 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.0.0 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.0.0.rc1 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.0.0.pre2 test/lib/nugrant/helper/test_parameters.rb
nugrant-2.0.0.pre1 test/lib/nugrant/helper/test_parameters.rb