Sha256: 592addf27b05b140b1ed031f2fe5e51316cc0d60bc898b96ae15196738a87aea

Contents?: true

Size: 273 Bytes

Versions: 26

Compression:

Stored size: 273 Bytes

Contents

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
predicate-1.2.0 spec/factory/test_literal.rb
predicate-1.1.3 spec/factory/test_literal.rb
predicate-1.1.2 spec/factory/test_literal.rb
predicate-1.1.1 spec/factory/test_literal.rb
predicate-1.1.0 spec/factory/test_literal.rb
predicate-1.0.0 spec/factory/test_literal.rb