tests for: Profile -> History

This commit is contained in:
randx 2012-09-27 23:23:11 +03:00
parent 68f4b59738
commit 9cabe04368
5 changed files with 24 additions and 0 deletions

View file

@ -11,4 +11,8 @@ module SharedAuthentication
Given 'I sign in as an admin' do
login_as :admin
end
def current_user
@user || User.first
end
end