EvoBal/test/fixtures/rules.yml

88 lines
1.9 KiB
YAML
Raw Normal View History

2021-01-20 13:46:11 +01:00
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
2021-01-23 18:09:55 +01:00
rule_set: one
name: Subject contains MyString
enabled: true
subject_type: Header
subject_value: Subject
condition_type: contain
condition_value: MyString
inverted: false
2021-01-20 13:46:11 +01:00
two:
2021-01-23 18:09:55 +01:00
rule_set: two
name: Subject doesn't contain MyString
2021-01-24 17:49:35 +01:00
enabled: true
2021-01-23 18:09:55 +01:00
subject_type: Header
subject_value: Subject
condition_type: contain
condition_value: MyString
inverted: true
2021-01-24 17:49:35 +01:00
invalid_subject:
rule_set: invalid_subject
name: Rule with invalid subject type
enabled: true
subject_type: Invalid
subject_value: Subject
condition_type: contain
condition_value: MyString
inverted: false
invalid_condition_type:
rule_set: invalid_condition_type
name: Rule with invalid condition type
enabled: true
subject_type: Header
subject_value: Subject
condition_type: invalid
condition_value: MyString
inverted: false
invalid_operator:
rule_set: invalid_operator
name: Rule with valid arguments
enabled: true
subject_type: Header
subject_value: Subject
condition_type: contain
condition_value: MyString
inverted: false
postpone_future_valid:
rule_set: postpone_future_valid
name: Match Postponable in Subject
enabled: true
subject_type: Subject
condition_type: match
condition_value: Postponable
inverted: false
postpone_past_valid:
rule_set: postpone_past_valid
name: Match Postponable in Subject
enabled: true
subject_type: Subject
condition_type: match
condition_value: Postponable
inverted: false
postpone_invalid:
rule_set: postpone_invalid
name: Match Postponable in Subject
enabled: true
subject_type: Subject
condition_type: match
condition_value: Postponable
inverted: false
2021-01-26 16:01:09 +01:00
junk_subject:
rule_set: junk
name: Junk in subject
enabled: true
subject_type: Subject
condition_type: match
condition_value: Junk
inverted: false