Sha256: 1b6cb56b8c15d3332f8bc150f420cdb8accee23f27d5ec57f078dff06ad8e3b4

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'
module Alf
  describe Renaming do

    def Renaming.exemplars
      [
        {},
        {:old1 => :new1},
        {:old1 => :new1, :old2 => :new2}
      ].map{|x| Renaming.coerce(x)}
    end

    let(:type){ Renaming }

    it_should_behave_like 'A valid type implementation'

  end # Renaming
end # Alf

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-types/test_renaming.rb
alf-core-0.14.0 spec/unit/alf-types/test_renaming.rb
alf-core-0.13.1 spec/unit/alf-types/test_renaming.rb
alf-core-0.13.0 spec/unit/alf-types/test_renaming.rb