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.

Source | Google | Stack overflow

Edit

git clone [email protected]:wikieducationfoundation/wikiedudashboard.git

cd wikiedudashboard

open lib/surveys/survey_test_email_manager.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SurveyTestEmailManager-mock_survey_notification-for-pr


# Commit to git

git add lib/surveys/survey_test_email_manager.rbgit commit -m "better docs for SurveyTestEmailManager#mock_survey_notification"


# Open pull request

gem 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!