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

Allow transfer to an existing teacher. #14125

Merged
merged 1 commit into from Mar 31, 2017
Merged

Allow transfer to an existing teacher. #14125

merged 1 commit into from Mar 31, 2017

Conversation

ashercodeorg
Copy link
Contributor

Historically, we prevented this as we wanted a student to be in (at most) one section for a given teacher. As we explicitly no longer want this, it no longer makes sense to restrict transfers in this situation.

# assert_response :no_content
# refute Follower.exists?(student_user: @word_student, section: existing_section)
# assert Follower.exists?(student_user: @word_student, section: @other_teacher_section)
# end
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This behavior is not desired [per @poorvasingal], so the (commented) test is being removed.

@ashercodeorg ashercodeorg requested a review from aoby March 31, 2017 21:01
@ashercodeorg ashercodeorg merged commit 5dcb3ad into staging Mar 31, 2017
@ashercodeorg ashercodeorg deleted the allowTransfer branch March 31, 2017 22:19
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.

None yet

2 participants