Sha256: 7645501eb5ca0948e75b7ad2bfa18dcfbde0b7dc9a4573e6adf602470a7efbf0

Contents?: true

Size: 298 Bytes

Versions: 6

Compression:

Stored size: 298 Bytes

Contents

require 'helper'

test_case PropertyHash do

  class_method :new do
    test do
      PropertyHash.new
    end
  end

  method :update do
    test do
      h = PropertyHash.new
      h.property :a
      h.property :b
      h.update(:a=>1, :b=>2)
      h.assert == {:a=>1, :b=>2}
    end
  end

end

Version data entries

6 entries across 5 versions & 2 rubygems

Version Path
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.4.0/gems/hashery-2.1.2/test/case_property_hash.rb
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.5.0/gems/hashery-2.1.2/test/case_property_hash.rb
hashery-2.1.2 test/case_property_hash.rb
hashery-2.1.1 test/case_property_hash.rb
hashery-2.1.0 test/case_property_hash.rb
hashery-2.0.1 test/case_property_hash.rb