Fix feature tests

This commit is contained in:
Martin Lensment 2015-03-24 12:31:22 +02:00
parent a615827b8e
commit 63c9ed83ee

View file

@ -1,6 +1,6 @@
module Feature
def sign_in(user)
visit '/logout'
visit '/admin/logout'
click_on 'ID card (user1)' if user.username == 'user1'
end
end