Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing tests #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add missing tests #2

wants to merge 2 commits into from

Conversation

gschammah
Copy link

@ndrisso please check it again

@@ -2,6 +2,7 @@

require 'rubygems'
require 'bundler/setup'
require 'pry'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐩

@gschammah
Copy link
Author

@GonchuB it's cleaner now

@gschammah gschammah force-pushed the feature/ensure_alternative branch from d3aa55f to 1784218 Compare October 7, 2015 04:06
ab_user[experiment_name] = default_alternative = alternatives.first
Split::Alternative.new(default_alternative, experiment_name).increment_participation
@alternative_ensured = true
# If the user doesn't have an alternative set, we override the alternative and we manually increment the
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the user doesn't have an alternative set, we override the alternative It doesn't makes much sense

@ndrisso
Copy link

ndrisso commented Oct 7, 2015

muy muy buenos tests 👍

@ndrisso
Copy link

ndrisso commented Oct 7, 2015

el caso del winner debrería estar funcionando a pesar del ensure verdad? Es decir, devuelve el winner siempre.

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