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

allow_private option and custom rspec matcher #40

Closed
wants to merge 2 commits into from

Conversation

jhoffner
Copy link
Contributor

@jhoffner jhoffner commented Mar 1, 2014

In my use case of wisper I would ideally be able to subscribe listeners that have private callback methods. I've added a allow_private option to do that.

Also I added a custom matcher that can be optionally required. I.e.

expect { project.complete }.to broadcast(project, :completed)

@jhoffner
Copy link
Contributor Author

jhoffner commented Mar 4, 2014

Crap. Looks like my code wasn't compatible with rspec 3.0. I'll have to take a look at it when I get a chance.

@jhoffner jhoffner closed this Mar 4, 2014
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

1 participant