2013-11-22 01:51:36 -05:00
|
|
|
require 'spec_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
|
2014-12-31 09:55:03 -05:00
|
|
|
expect(info.twitter_user_id).to eq(id)
|
2013-11-22 01:51:36 -05:00
|
|
|
end
|
|
|
|
end
|