Sha256: 84f705be2ce820d16f3b3ea2dde04cf631615caea1043e2f8613c82183e03156

Contents?: true

Size: 284 Bytes

Versions: 26

Compression:

Stored size: 284 Bytes

Contents

require_relative 'shared/a_predicate_ast_node'
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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
predicate-2.8.0 spec/factory/test_or.rb
predicate-2.7.1 spec/factory/test_or.rb
predicate-2.7.0 spec/factory/test_or.rb
predicate-2.6.0 spec/factory/test_or.rb
predicate-2.5.0 spec/factory/test_or.rb
predicate-2.4.0 spec/factory/test_or.rb
predicate-2.3.3 spec/factory/test_or.rb
predicate-2.3.2 spec/factory/test_or.rb
predicate-2.3.1 spec/factory/test_or.rb
predicate-2.3.0 spec/factory/test_or.rb
predicate-2.2.1 spec/factory/test_or.rb
predicate-2.2.0 spec/factory/test_or.rb
predicate-2.1.0 spec/factory/test_or.rb
predicate-2.0.1 spec/factory/test_or.rb
predicate-2.0.0 spec/factory/test_or.rb
predicate-1.3.4 spec/factory/test_or.rb
predicate-1.3.3 spec/factory/test_or.rb
predicate-1.3.2 spec/factory/test_or.rb
predicate-1.3.1 spec/factory/test_or.rb
predicate-1.3.0 spec/factory/test_or.rb