-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 test for questions count on methods page #2621
Conversation
Generated by 🚫 Danger |
@publiclab/reviewers - this is odd -- our Danger test failures for |
@@ -558,6 +558,16 @@ def teardown | |||
assert_not_nil :topics | |||
end | |||
|
|||
test 'should get methods page and show questions count' do | |||
nodes(:method).add_tag('questions:spectrometer', users(:bob)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay , so i think Then i used id instead of class in the And then in assert_select i changed to : and the test passed ! What do you think ? |
@jywarren ....when i used id instead of class , the travis showed the correct error of what was matched/unmatched. |
Oh, this is awesome. Do you think you could add a commit to this PR? Thank you so much for helping out! 🙌 🤝 |
Oh wow you already did! My browser tab just hadn't refreshed. AMAZING TEAMWORK!!! 🎈🎈🎈🎈🎈🎈🎈🎈🎈 |
* Add test for questions count on methods page * Update wiki_controller_test.rb * Update _notes.html.erb * Added tag 'method' also . * changed class to id of span . * Removed undefined local variable .
No description provided.