Created
April 17, 2012 17:29
-
-
Save coderberry/2407641 to your computer and use it in GitHub Desktop.
ExampleController.groovy
This file contains hidden or 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
| 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