discourse/spec/models/twitter_user_info_spec.rb
2016-03-31 17:40:54 -04:00

11 lines
260 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