fixes specs

This commit is contained in:
rgarcia
2016-06-08 19:38:38 +02:00
parent 0e86cd89d6
commit 6bade16ee8

View File

@@ -190,7 +190,7 @@ feature 'Emails' do
author = create(:user)
voter = create(:user, email_on_proposal_notification: false)
proposal = create(:proposal)
proposal = create(:proposal, author: author)
create(:vote, voter: voter, votable: proposal, vote_flag: true)
login_as(author)