summaryrefslogtreecommitdiff
path: root/features/steps/shared/authentication.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/shared/authentication.rb')
-rw-r--r--features/steps/shared/authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/authentication.rb b/features/steps/shared/authentication.rb
index 735e0ef6108..5c3e724746b 100644
--- a/features/steps/shared/authentication.rb
+++ b/features/steps/shared/authentication.rb
@@ -33,6 +33,6 @@ module SharedAuthentication
end
def current_user
- @user || User.first
+ @user || User.reorder(nil).first
end
end