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-2.8.0 spec/factory/test_literal.rb
predicate-2.7.1 spec/factory/test_literal.rb
predicate-2.7.0 spec/factory/test_literal.rb
predicate-2.6.0 spec/factory/test_literal.rb
predicate-2.5.0 spec/factory/test_literal.rb
predicate-2.4.0 spec/factory/test_literal.rb
predicate-2.3.3 spec/factory/test_literal.rb
predicate-2.3.2 spec/factory/test_literal.rb
predicate-2.3.1 spec/factory/test_literal.rb
predicate-2.3.0 spec/factory/test_literal.rb
predicate-2.2.1 spec/factory/test_literal.rb
predicate-2.2.0 spec/factory/test_literal.rb
predicate-2.1.0 spec/factory/test_literal.rb
predicate-2.0.1 spec/factory/test_literal.rb
predicate-2.0.0 spec/factory/test_literal.rb
predicate-1.3.4 spec/factory/test_literal.rb
predicate-1.3.3 spec/factory/test_literal.rb
predicate-1.3.2 spec/factory/test_literal.rb
predicate-1.3.1 spec/factory/test_literal.rb
predicate-1.3.0 spec/factory/test_literal.rb