tests for: Profile -> History
This commit is contained in:
parent
68f4b59738
commit
9cabe04368
5 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue