Sha256: 845fe1d0b93368f7a3bdc27fc9c5f52ba34d0d2b165b54a85597655eba21fe71

Contents?: true

Size: 462 Bytes

Versions: 27

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true
require 'support'
require 'mustermann/ast/node'

describe Mustermann::AST do
  describe :type do
    example { Mustermann::AST::Node[:char].type     .should be == :char }
    example { Mustermann::AST::Node[:char].new.type .should be == :char }
  end

  describe :min_size do
    example { Mustermann::AST::Node[:char].new.min_size.should be == 1 }
    example { Mustermann::AST::Node[:node].new.min_size.should be == 0 }
  end
end

Version data entries

27 entries across 24 versions & 5 rubygems

Version Path
mustermann-3.0.3 spec/ast_spec.rb
mustermann-3.0.2 spec/ast_spec.rb
mustermann-3.0.1 spec/ast_spec.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/mustermann-3.0.0/spec/ast_spec.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/mustermann-3.0.0/spec/ast_spec.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/mustermann-3.0.0/spec/ast_spec.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/mustermann-3.0.0/spec/ast_spec.rb
mustermann-3.0.0 spec/ast_spec.rb
mustermann-2.0.2 spec/ast_spec.rb
mustermann-2.0.1 spec/ast_spec.rb
mustermann-2.0.0 spec/ast_spec.rb
mustermann-1.1.2 spec/ast_spec.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.0.0/gems/mustermann-1.1.1/spec/ast_spec.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.1.0/gems/mustermann-1.1.1/spec/ast_spec.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/2.6.0/gems/mustermann-1.1.1/spec/ast_spec.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/mustermann-1.0.3/spec/ast_spec.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/mustermann-1.1.1/spec/ast_spec.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/ast_spec.rb
mustermann-1.1.1 spec/ast_spec.rb
mustermann-1.1.0 spec/ast_spec.rb