Sha256: ddd380a3e9cb1efca547abcb7fd8708c2296e8bf401810e8b8677bfebe73e2a8
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Function::Connective::Binary::EqualOperands, '#optimize' do subject { object.optimize } let(:attribute) { Attribute::Integer.new(:id) } let(:left) { attribute.eq(1) } let(:right) { attribute.eq(1) } let(:connective) { left.and(right) } let(:object) { described_class.new(connective) } before do expect(object).to be_optimizable end it { should be(left) } end
Version data entries
2 entries across 2 versions & 1 rubygems