mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 01:53:45 +08:00
11 lines
259 B
Ruby
11 lines
259 B
Ruby
require 'rails_helper'
|
|
|
|
describe TwitterUserInfo do
|
|
it "does not overflow" do
|
|
id = 22019458041
|
|
info = TwitterUserInfo.create!(user_id: -1, screen_name: 'sam', twitter_user_id: id)
|
|
info.reload
|
|
expect(info.twitter_user_id).to eq(id)
|
|
end
|
|
end
|