Sha256: ab0eac69d5459cbe4f8fd97f52511c95666a6f729718ad9f1e1d0a89225d7341

Contents?: true

Size: 271 Bytes

Versions: 4

Compression:

Stored size: 271 Bytes

Contents

require 'test_helper'

class TestHashMethodsOnStrict < ConfigurationsTest
  setup_with :strict
  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/test_hash_methods.rb
configurations-2.2.1 test/configurations/strict/test_hash_methods.rb
configurations-2.2.0 test/configurations/strict/test_hash_methods.rb
configurations-2.0.0 test/configurations/strict/test_hash_methods.rb