Support form validation error for non signed in existing employee

This commit is contained in:
2015-02-24 18:25:46 +01:00
parent fd871639b9
commit 6a47ecb0eb
3 changed files with 13 additions and 3 deletions
@@ -1,5 +1,6 @@
step 'there is a confirmed and open supplier' do
@supplier_password = 'secret1'
@employee_password = @supplier_password
@employee = create :employee, email: 'supplier@mozo.bar', password: @supplier_password
@supplier = build :supplier, open: true
@supplier.add_manager @employee