mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
correct test that does not work with discobot
This commit is contained in:
parent
a9bcdd7f27
commit
d041377ccf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue