Sha256: 63514e999d1e4710992551b1247915846d62100a4aa65b018cc4c007bb379e90

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

shared "tuple" do
  it 'should get the identifier' do
    Tuple.identifiers.should.include(@tuple.identifier)
  end

  it 'should get records' do
    @tuple.class.format.each do |key|
      key, _ = key
      should.not.raise do
        @tuple.__send__(key)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.2.2 test/tuple/tuple-behavior.rb
pione-0.2.1 test/tuple/tuple-behavior.rb
pione-0.2.0 test/tuple/tuple-behavior.rb