mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
add a test case to verify presence of registration_ip_address for staged users
This commit is contained in:
parent
39d0dae5fe
commit
d21db0f186
1 changed files with 1 additions and 0 deletions
|
@ -1045,6 +1045,7 @@ describe UsersController do
|
|||
result = ::JSON.parse(response.body)
|
||||
expect(result["success"]).to eq(true)
|
||||
expect(User.find_by_email(staged.email).staged).to eq(false)
|
||||
expect(User.find_by_email(staged.email).registration_ip_address).to be_present
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue