Sha256: e13f61bb15ce0f362cdcda430f0230018da7d4d0cf9068ccd5e5cb4c2416a10e

Contents?: true

Size: 216 Bytes

Versions: 4

Compression:

Stored size: 216 Bytes

Contents

require 'spec_helper'
module Alf
  describe Heading, "allbut" do

    let(:heading){ Heading[id: Integer, name: String] }

    subject{ heading.allbut([:id]) }

    it { should eq(Heading[name: String]) }

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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