Commit bd9d17c8 authored by Timothy Andrew's avatar Timothy Andrew Committed by Alfredo Sumaran

Fix `AutocompleteController` spec.

- Project needs to be loaded before `find_users` is called.
parent c4346dcd
......@@ -2,7 +2,6 @@ class AutocompleteController < ApplicationController
skip_before_action :authenticate_user!, only: [:users]
before_action :load_project, only: [:users]
before_action :find_users, only: [:users]
before_action :load_project, only: [:users]
def users
@users = @users.non_ldap if params[:skip_ldap] == 'true'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment