Sha256: 46ccca746ec792f66709f219d4e85a07477e096a78ea40b15fe3d362616059a1
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
require 'spec_helper' module Alf describe Heading, "split" do let(:heading){ Heading[id: Integer, name: String] } context 'without allbut' do subject{ heading.split([:id]) } it { should eq([Heading[id: Integer], Heading[name: String]]) } end context 'without allbut' do subject{ heading.split([:id], true) } it { should eq([Heading[name: String], Heading[id: Integer]]) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems