Sha256: 7658a76b1c1af635127d8e2e4d1c0df6229a1a01e51c664ceb81ef7cc444ac3a
Contents?: true
Size: 459 Bytes
Versions: 26
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' class Predicate describe Identifier, "and_split" do let(:predicate){ Factory.identifier(:id) } let(:tautology){ Factory.tautology } subject{ predicate.and_split(list) } context 'when included' do let(:list){ [:id, :name] } it{ should eq([predicate, tautology]) } end context 'when not include' do let(:list){ [:name] } it{ should eq([tautology, predicate]) } end end end
Version data entries
26 entries across 26 versions & 1 rubygems