Sha256: f0d7ef07a6ae5d43913b3fc5cd9774185c267ecb85f305b8e4ba25cc375ffb32
Contents?: true
Size: 427 Bytes
Versions: 15
Compression:
Stored size: 427 Bytes
Contents
require 'spec_helper' class Predicate describe Predicate, "|" do let(:left) { Predicate.coerce(x: 2) } subject{ left | right } before do subject.should be_a(Predicate) end context 'with itself' do let(:right){ left } it{ should be(left) } end context 'with the same expression' do let(:right){ Predicate.coerce(x: 2) } it{ should be(left) } end end end
Version data entries
15 entries across 15 versions & 1 rubygems