Sha256: e4a8be3e907e551b193504bf508738e409f53f504bdc919e8c26bfa80c469e4b

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

require 'spec_helper'
module Alf
  describe Renaming, "to_attr_list" do

    let(:renaming){ Renaming[:old => :new, :foo => :bar] }

    subject{ renaming.to_attr_list }

    let(:expected){ AttrList[:old, :foo] }

    it{ should eq(expected) }

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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