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

[GDPR] Sign up newsletter opt out #242

Merged
merged 3 commits into from
Apr 27, 2018
Merged

[GDPR] Sign up newsletter opt out #242

merged 3 commits into from
Apr 27, 2018

Conversation

eoji
Copy link
Contributor

@eoji eoji commented Apr 24, 2018

what

Opting out of the newsletter on sign up and Facebook confirmation screens.
Updating tests.

why

GIF

@eoji eoji requested a review from Scollaco April 24, 2018 20:58
@eoji
Copy link
Contributor Author

eoji commented Apr 24, 2018

@@ -98,12 +98,12 @@ public void testToggleSendNewsLetter_ForUSUser() {
this.vm = new FacebookConfirmationViewModel.ViewModel(environment);

this.vm.outputs.sendNewslettersIsChecked().subscribe(this.sendNewslettersIsChecked);
this.sendNewslettersIsChecked.assertValue(true);
this.sendNewslettersIsChecked.assertValue(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

I would change the name of the test to something like testToggleSendNewsLetter_isNotChecked, since now we don't differenciate the toggle status for US/Non-US users.

Copy link
Contributor

@Scollaco Scollaco left a comment

Choose a reason for hiding this comment

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

lgtm! 👍

@eoji eoji merged commit b7ce25a into master Apr 27, 2018
@eoji eoji deleted the sign-up-opt-out branch April 27, 2018 21:16
Rcureton pushed a commit that referenced this pull request Jul 31, 2018
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