Skip to content

Instantly share code, notes, and snippets.

@coderberry
Created April 17, 2012 17:29
Show Gist options
  • Select an option

  • Save coderberry/2407641 to your computer and use it in GitHub Desktop.

Select an option

Save coderberry/2407641 to your computer and use it in GitHub Desktop.
ExampleController.groovy
class ExampleController {
def splitTestService
def almostConverted() {
// Mark split test as converting on Action 1
splitTestService.markTestAsActionOneConverted('My First Split Test')
// Mark split test as converting on Action 2
splitTestService.markTestAsActionTwoConverted('My First Split Test')
// Mark split test as converting on Action 3
splitTestService.markTestAsActionThreeConverted('My First Split Test')
}
def converted() {
// Mark split test with name 'My First Split Test' as converted
splitTestService.markTestAsConverted('My First Split Test')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment