Sha256: 497ce2005e8667d45ff4aebb455b9afff89c1a687021276c5aff97816555ccf8

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

require_relative 'shared/a_predicate_ast_node'
module Alf
  class Predicate
    describe Factory, 'or' do
      include Factory

      subject{ self.or(true, true) }

      it_should_behave_like "a predicate AST node"
      it{ should be_a(Or) }
      it{ should eql([:or, tautology, tautology]) }

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-predicate/factory/test_or.rb
alf-core-0.14.0 spec/unit/alf-predicate/factory/test_or.rb
alf-core-0.13.1 spec/unit/alf-predicate/factory/test_or.rb
alf-core-0.13.0 spec/unit/alf-predicate/factory/test_or.rb