Sha256: cc6db3416d4aa52b89f18e43ed3207feea7a23c628ded80a9a84de44dfbcce91

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

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

      subject{ literal(12) }

      it_should_behave_like "a predicate AST node"
      it{ should be_a(Literal) }
      it{ should eql([:literal, 12]) }

    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_literal.rb
alf-core-0.14.0 spec/unit/alf-predicate/factory/test_literal.rb
alf-core-0.13.1 spec/unit/alf-predicate/factory/test_literal.rb
alf-core-0.13.0 spec/unit/alf-predicate/factory/test_literal.rb