Sha256: 0ea502fb9f03986a0c4a2b9c5787681276923d3aa51ea172a0248e058fcca0f3

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

require 'test_helper'

class TestHashMethodsOnStrictTypes < ConfigurationsTest
  setup_with :strict_types
  shares_tests :hash_methods

  def test_from_h_outside_block
    old_to_h = @configuration.to_h.dup
    assert_equal(old_to_h, @configuration.from_h(old_to_h).to_h)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
configurations-2.2.2 test/configurations/strict_types/test_hash_methods.rb
configurations-2.2.1 test/configurations/strict_types/test_hash_methods.rb
configurations-2.2.0 test/configurations/strict_types/test_hash_methods.rb
configurations-2.0.0 test/configurations/strict_types/test_hash_methods.rb