Skip to content

Commit 5334713

Browse files
Rename property to be compatible with runscope scenario (#67)
1 parent 981e2af commit 5334713

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ Assertions are a big part of api-scenario, this is the acceptance tests of your
395395
|**equals** |`equal` |A string comparison of the actual and expected value. Non-string values are cast to a string before comparing. For comparing non-integer numbers, use equals (number).
396396
|**does not equal** |`not_equal` |A string comparison of the actual and target value.
397397
|**contains** |`contains` |The actual value contains the target value as a substring.
398-
|**does not contain** |`does_not_contains` |The target value is not found within the actual value.
398+
|**does not contain** |`does_not_contain` |The target value is not found within the actual value.
399399
|**has key** |`has_key` |Checks for the existence of the expected value within a dictionary's keys. The actual value must point to a dictionary **(JSON only)**.
400400
|**has value** |`has_value` |Checks a list or dictionary for the existence of the expected value in any of the list or dictionary values. The actual value must point to a JSON list or dictionary **(JSON only)**.
401401
|**is null** |`is_null` |Checks that a value for a given JSON key is null.

pkg/model/comparison.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const (
1313
IsGreaterThan //is_greater_than
1414
IsGreaterThanOrEqual //is_greater_than_or_equal
1515
Contains //contains
16-
DoesNotContain //does_not_contains
16+
DoesNotContain //does_not_contain
1717
NotEmpty //not_empty
1818
Empty //empty
1919
IsNull //is_null

pkg/model/step.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type Step struct {
77

88
Headers map[string][]string `json:"headers,omitempty"`
99
Assertions []Assertion `json:"assertions,omitempty"`
10-
Method string `json:"Method,omitempty"`
10+
Method string `json:"method,omitempty"`
1111
Duration int `json:"duration,omitempty"`
1212
Body string `json:"body,omitempty"`
1313
}

0 commit comments

Comments
 (0)