mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: new 'staged' users list for admins
This commit is contained in:
@@ -176,6 +176,17 @@ describe AdminUserIndexQuery do
|
||||
|
||||
end
|
||||
|
||||
describe "with a staged user" do
|
||||
|
||||
let!(:user) { Fabricate(:user, staged: true) }
|
||||
|
||||
it "finds the staged user" do
|
||||
query = ::AdminUserIndexQuery.new(query: 'staged')
|
||||
expect(query.find_users.count).to eq(1)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
describe "filtering" do
|
||||
|
||||
context "exact email bypass" do
|
||||
|
||||
Reference in New Issue
Block a user