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-1.2.0 spec/factory/test_or.rb
predicate-1.1.3 spec/factory/test_or.rb
predicate-1.1.2 spec/factory/test_or.rb
predicate-1.1.1 spec/factory/test_or.rb
predicate-1.1.0 spec/factory/test_or.rb
predicate-1.0.0 spec/factory/test_or.rb