wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
SurveyTestEmailManager#mock_survey_notification
Create an object that has all the properties SurveyMailer expects, without creating a real SurveyNotification object. This lets the email tester bypass the assumption of a real CoursesUsers record for each SurveyNotification.
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open lib/surveys/survey_test_email_manager.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SurveyTestEmailManager-mock_survey_notification-for-pr
# Commit to gitgit add lib/surveys/survey_test_email_manager.rbgit commit -m "better docs for SurveyTestEmailManager#mock_survey_notification"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SurveyTestEmailManager-mock_survey_notification-for-pr
hub pull-request
# Celebrate!