Class: JasmineParser::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/jasmine-parser/config.rb

Class Method Summary collapse

Class Method Details

.loggingObject



48
49
50
# File 'lib/jasmine-parser/config.rb', line 48

def self.logging
  @logging ||= [:info, :warning, :error]
end

.logging=(value) ⇒ Object



52
53
54
# File 'lib/jasmine-parser/config.rb', line 52

def self.logging=(value)
  @logging = value
end

.reserved_group_example_wordsObject



44
45
46
# File 'lib/jasmine-parser/config.rb', line 44

def self.reserved_group_example_words
  ["context", "describe", "it"]
end

.shared_behavior_declarationsObject

Some common names for shared behavior, add more that apply to your project



35
36
37
# File 'lib/jasmine-parser/config.rb', line 35

def self.shared_behavior_declarations
  @shared_behavior_declarations ||= ["sharedExamples", "sharedExamplesFor"]
end

.shared_behavior_invocationObject



40
41
42
# File 'lib/jasmine-parser/config.rb', line 40

def self.shared_behavior_invocation
  @shared_behavior_invocation ||= ["itShouldBehaveLike", "itBehavesLike"]
end