Sha256: 29a56b2c38a451c055dfdd764567d21d4df3b3158249f1ce4590d85e2cbce35f

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

require 'spec_helper'
module Alf
  module Types
    describe Tuple, "allbut" do

      let(:tuple){ Tuple(:id => 1, :name => "Alf") }

      subject{ tuple.allbut([:name]) }

      it { should eq(Tuple(:id => 1)) }

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-relation/tuple/test_allbut.rb
alf-core-0.14.0 spec/unit/alf-relation/tuple/test_allbut.rb
alf-core-0.13.1 spec/unit/alf-relation/tuple/test_allbut.rb
alf-core-0.13.0 spec/unit/alf-relation/tuple/test_allbut.rb