Skip to content

Instantly share code, notes, and snippets.

View gist:951e1a02ca8572d296b90baabcc65a66
org.springframework.cloud.contract.spec.Contract.make {
request {
method 'GET'
url $(client(regex('/api/articles/.*')), server(execute('getArticleId()')))
}
@jakubnabrdalik
jakubnabrdalik / Logitech R400 with OSX and Google Docs
Created Nov 30, 2015
Mapping R400 to behave correctly on OSX in Google Docs presentations
View Logitech R400 with OSX and Google Docs
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>LOGITECH</vendorname>
<vendorid>0x046d</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>LOGITECH_R400</productname>
<productid>0xc52d</productid>
View gist:3810821
def "created outlet insert command should have new account"() {
given:
setValidOutletInsertCommandParameters(controller)
userIsLoggedIn()
when:
controller.save()
then:
outletInsertCommandHasNewAccount()
}