mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:52:19 +08:00
correct test that does not work with discobot
This commit is contained in:
parent
a9bcdd7f27
commit
d041377ccf
|
@ -130,7 +130,7 @@ describe AdminUserIndexQuery do
|
|||
users = ::AdminUserIndexQuery.new(order: "last_emailed", ascending: true).find_users
|
||||
|
||||
expect(users.where('users.id > -2').count).to eq(2)
|
||||
expect(users.first.username).to eq("system")
|
||||
expect(users.where('users.id > -2').order('users.id asc').first.username).to eq("system")
|
||||
expect(users.first.last_emailed_at).to eq(nil)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user