Skip to content

Conversation

@SegFaultAX
Copy link
Contributor

Previously it was possible to trigger the #on_trial_complete even if the Trial
wasn't legally completed (eg #complete! was falsey). This can occur if the user
reaches a #finished call before they reach an #ab_test call.

Previously it was possible to trigger the #on_trial_complete even if the Trial
wasn't legally completed (eg #complete! was falsey). This can occur if the user
reaches a #finished call before they reach an #ab_test call.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) when pulling 2020a9c on SegFaultAX:fix-trial-complete-callback into 5b07d68 on andrew:master.

@andrew
Copy link
Member

andrew commented Sep 7, 2013

Good catch, cheers!

andrew added a commit that referenced this pull request Sep 7, 2013
Only trigger completion callback with valid Trial
@andrew andrew merged commit 08f61e3 into splitrb:master Sep 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants