login as manager on the management tests

This commit is contained in:
kikito
2015-10-09 10:50:35 +02:00
parent 5b21fc464f
commit 5305f7f942
4 changed files with 12 additions and 0 deletions

View File

@@ -2,6 +2,10 @@ require 'rails_helper'
feature 'DocumentVerifications' do
background do
login_as_manager(create(:manager))
end
scenario 'Verifying a level 3 user shows an "already verified" page' do
user = create(:user, :level_three)