adds option to receive email digest

This commit is contained in:
rgarcia
2016-06-14 18:08:27 +02:00
parent 6e800c5120
commit 9f19a5d143
6 changed files with 20 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ feature 'Account' do
check 'account_email_on_comment'
check 'account_email_on_comment_reply'
uncheck 'account_email_on_proposal_notification'
uncheck 'account_email_digest'
click_button 'Save changes'
expect(page).to have_content "Changes saved"
@@ -45,7 +46,7 @@ feature 'Account' do
expect(page).to have_selector("input[value='Larry Bird']")
expect(find("#account_email_on_comment")).to be_checked
expect(find("#account_email_on_comment_reply")).to be_checked
expect(find("#account_email_on_proposal_notification")).to_not be_checked
expect(find("#account_email_digest")).to_not be_checked
end
scenario 'Edit Organization' do