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

Replace subject in specs with more descriptive method #11

Merged

Conversation

jaredjenkins
Copy link
Contributor

Alternate fix to deadlock issue rspec/rspec-core#2064 (comment)

jaredjenkins added a commit that referenced this pull request Nov 10, 2015
Replace `subject` in specs with more descriptive method
@jaredjenkins jaredjenkins merged commit 97e1276 into square:jared/refactor-specs Nov 10, 2015
let(:expiration) { work_time * 4 }
let(:work_time) { 0.1 }

def run_synchronized_workers
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this a little risky since it can be triggered multiple times now? i.e. not memoized like subject .... I edited your comment! I own you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure I follow. Let's talk in the office.

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.

None yet

3 participants