Sha256: ee2f05daeac841ca5088953fae8e61b4b5e3ec957ac5040ae5acd66b78e935d7

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

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

      subject{ identifier(:name) }

      it_should_behave_like "a predicate AST node"
      it{ should be_a(Identifier) }
      it{ should eql([:identifier, :name]) }

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-predicate/factory/test_identifier.rb