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 tests for broadcasters #364

Merged
merged 7 commits into from
Nov 19, 2020

Conversation

julianrubisch
Copy link
Contributor

Tests Tests

Description

Add test coverage for broadcasters

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing
  • This is not a documentation update

Please note that the best way to suggest changes or updates to the documentation is to join Discord and leave a note in the #docs channel. Any documentation updates posted as PRs cannot be accepted at this time. ❤️

@julianrubisch julianrubisch force-pushed the test-broadcasters branch 3 times, most recently from 44c33ab to 55313ea Compare November 18, 2020 09:35
@julianrubisch julianrubisch marked this pull request as ready for review November 19, 2020 14:14
@@ -8,7 +8,7 @@ def broadcast(selectors, data)

return unless page_html.present?

document = Nokogiri::HTML(page_html)
document = Nokogiri::HTML.parse(page_html)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed this because it's easier to stub - I think it should be just an alias?

@hopsoft hopsoft merged commit 74f71f6 into stimulusreflex:master Nov 19, 2020
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.

2 participants