Sha256: 4243ffaff6ef16fcd58933203f7b2409fdfbcc4d598dbe251a924c704aab6c33
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
# encoding: utf-8 module Selector describe Selector::Anything do let(:anything) { described_class.instance } describe ".instance" do subject { anything } it { is_expected.to be_kind_of Condition } it { is_expected.to be_kind_of Singleton } it { is_expected.to be_frozen } end # describe .instance describe "#[]" do subject { anything[:foo] } it { is_expected.to eql(true) } end # describe #[] end # describe Selector::Anything end # module Selector
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
selector-0.0.3 | spec/unit/selector/anything_spec.rb |
selector-0.0.2 | spec/unit/selector/anything_spec.rb |
selector-0.0.1 | spec/unit/selector/anything_spec.rb |