Skip to content

Instantly share code, notes, and snippets.

View jefferysmith's full-sized avatar

Jeff Smith jefferysmith

View GitHub Profile
package eu.spoonman.specs.rest
import groovyx.net.http.ContentType
import groovyx.net.http.Method
import eu.spoonman.connectors.RestConnector
import spock.lang.Specification
import spock.lang.Shared
import spock.lang.Stepwise
@Stepwise
@jefferysmith
jefferysmith / vagrant-centos-bootstrap.sh
Last active December 23, 2015 01:18
Vagrant shell provisioner script to setup Grails dev environment on CentOS
#!/usr/bin/env bash
# This script is executed by the Vagrant shell provisioner which runs
# as the root user.
# Add the latest updates to installed software
echo "updating CentOS system software..."
yum -y update
####################
@jefferysmith
jefferysmith / RunQunitTest.groovy
Created October 26, 2012 23:02
Grails script to run qunit test
/**
*
* RunQunitTest.groovy
*
* Assumes that phantomjs.exe is installed and on the PATH.
* Assumes use of a junit style output formatter like:
* https://github.com/odi86/GFTPrototype/blob/master/test/js/run_qunit.js
*
*/