Class: JasmineParser::Config
- Inherits:
-
Object
- Object
- JasmineParser::Config
- Defined in:
- lib/jasmine-parser/config.rb
Class Method Summary collapse
- .logging ⇒ Object
- .logging=(value) ⇒ Object
- .reserved_group_example_words ⇒ Object
-
.shared_behavior_declarations ⇒ Object
Some common names for shared behavior, add more that apply to your project.
- .shared_behavior_invocation ⇒ Object
Class Method Details
.logging ⇒ Object
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_words ⇒ Object
44 45 46 |
# File 'lib/jasmine-parser/config.rb', line 44 def self.reserved_group_example_words ["context", "describe", "it"] end |
.shared_behavior_declarations ⇒ Object
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_invocation ⇒ Object
40 41 42 |
# File 'lib/jasmine-parser/config.rb', line 40 def self.shared_behavior_invocation @shared_behavior_invocation ||= ["itShouldBehaveLike", "itBehavesLike"] end |