Sha256: 4a03f9825ff09724f3add13b6797f4b186273c96d79f4c675b8c86f33918053a

Contents?: true

Size: 319 Bytes

Versions: 8

Compression:

Stored size: 319 Bytes

Contents

$KCODE='u'

$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
require File.join(File.dirname(__FILE__), '..', 'init')

def assert_hash(expected, actual)
  keys = (expected.keys + actual.keys).uniq
  keys.each do |key|
    assert_equal expected[key], actual[key], "unmatch value for #{key.inspect}"
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
akm-selectable_attr-0.3.0 spec/spec_helper.rb
akm-selectable_attr-0.3.1 spec/spec_helper.rb
akm-selectable_attr-0.3.3 spec/spec_helper.rb
akm-selectable_attr-0.3.4 spec/spec_helper.rb
akm-selectable_attr-0.3.5 spec/spec_helper.rb
akm-selectable_attr-0.3.7 spec/spec_helper.rb
selectable_attr-0.3.11 spec/spec_helper.rb
selectable_attr-0.3.7 spec/spec_helper.rb