This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.springframework.cloud.contract.spec.Contract.make { | |
request { | |
method 'GET' | |
url $(client(regex('/api/articles/.*')), server(execute('getArticleId()'))) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>LOGITECH</vendorname> | |
<vendorid>0x046d</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>LOGITECH_R400</productname> | |
<productid>0xc52d</productid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def "created outlet insert command should have new account"() { | |
given: | |
setValidOutletInsertCommandParameters(controller) | |
userIsLoggedIn() | |
when: | |
controller.save() | |
then: | |
outletInsertCommandHasNewAccount() | |
} |