Skip to content
New issue

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

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

Already on GitHub? # to your account

Set winning strategy after _run!, in case _run! also sets winning_strategy #144

Conversation

patrickmcguire
Copy link
Contributor

Flips two lines to allow scopes authenticating from another without stepping on each other's toes. See #143

@jsmestad jsmestad assigned whithub and unassigned whithub Jun 18, 2017
@whithub
Copy link
Collaborator

whithub commented Jun 18, 2017

I took a look at this and I'm not 100% sure with this chunk of code. @hassox do you mind taking a look? If you're okay with the change, I'm happy to take it from there.

@hassox
Copy link
Collaborator

hassox commented Jun 18, 2017

I think this looks fine @whithub :D

@whithub
Copy link
Collaborator

whithub commented Jun 19, 2017

@hassox For my own knowledge, is there any risk of calling ._run! on strategy and then reassigning it the next line? Should I add a spec? Thanks!

@hassox
Copy link
Collaborator

hassox commented Jun 27, 2017

@whithub I'm not entirely sure. It's been a long time. I would definitely recommend a spec!

@jsmestad jsmestad merged commit f6ece45 into wardencommunity:master Sep 24, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants