Skip to content

Commit

Permalink
feat: removes "isValid" method test suites
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Gavel public API no longer contains "isValid" method. Use "validate" instead.
  • Loading branch information
artem-zakharchenko committed May 24, 2019
1 parent b1719d9 commit 6a0f58f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
13 changes: 0 additions & 13 deletions features/javascript/request_async_api.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ Feature: Request Async API
var validationResult = "booboo";
"""

@stable
Scenario: isValid
When you call:
"""
gavel.isValid(request, expected, 'request', function(error,result){
validationResult = result;
});
"""
Then "validationResult" variable will contain:
"""
true
"""

@stable
Scenario: isValidatable
When you call:
Expand Down
13 changes: 0 additions & 13 deletions features/javascript/response_async_api.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,6 @@ Feature: Response Async API
var validationResult = "booboo";
"""

@stable
Scenario: isValid
When you call:
"""
gavel.isValid(response, expected, 'response', function(error,result){
validationResult = result;
});
"""
Then "validationResult" variable will contain:
"""
true
"""

@stable
Scenario: isValidatable
When you call:
Expand Down

0 comments on commit 6a0f58f

Please sign in to comment.