-
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
Spam flag changes #2633
Spam flag changes #2633
Conversation
Generated by 🚫 Danger |
@@ -50,6 +45,7 @@ def setup | |||
UserSession.create(users(:bob)) | |||
get :dashboard | |||
assert_response :success | |||
assert_select "a.btn.btn-xs.btn-default.btn-flag-spam-#{nodes(:one).id}", :href => "mailto:moderators@publiclab.org?subject=Reporting+spam+on+Public+Lab&body=Hi,+I+found+this+item+that+looks+like+spam+or+needs+to+be+moderated:+Canon+A1200+IR+conversion+at+PLOTS+Barnraising+at+LUMCON+https://publiclab.org/n/1+by+https://publiclab.org/profile/jeff+thanks!" |
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.
This syntax is depreciated !
Found here :
rails/rails#19098
http://edgeguides.rubyonrails.org/4_2_release_notes.html#assert-select
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.
Also T is capital in thanks .
Found the correct ☑️ syntax 🔡 ! |
Aha! I see I have some mental updating tondo too, for rails 4.2! Many thanks!!!! |
* Spam flag changes * Update home_controller_test.rb * Small fix in home_controller_test . * assert_select syntax changed .
No description provided.