mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +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
|
@ -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…
Reference in New Issue
Block a user