Sha256: bc3bc77c10a23f4747ec7155916c8ee2df6ded32d1bf8973ef7c3168b500a473
Contents?: true
Size: 349 Bytes
Versions: 2
Compression:
Stored size: 349 Bytes
Contents
require 'spec_helper' module Alf describe Selector, "simple?" do subject{ selector.simple? } context 'on a single' do let(:selector){ Selector.coerce(:name) } it { should be_true } end context 'on a composite' do let(:selector){ Selector.coerce([:a, :name]) } it { should be_false } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-types/selector/test_simple_q.rb |
alf-core-0.14.0 | spec/unit/alf-types/selector/test_simple_q.rb |