Sha256: a8c624e2d963682a8f1e5eb443b6f6277bc7d14eb6a9839e330c88e41efffa4d

Contents?: true

Size: 291 Bytes

Versions: 26

Compression:

Stored size: 291 Bytes

Contents

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

Version data entries

26 entries across 26 versions & 1 rubygems

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