Sha256: 8c4944a181f9886fb0a774eaa481d081735b9a39a2b7609971728c4d205c9807

Contents?: true

Size: 335 Bytes

Versions: 6

Compression:

Stored size: 335 Bytes

Contents

require 'spec_helper'
describe Upsert do
  it "works correct with large ints" do
    u = Upsert.new($conn, :pets)
    Pet.create(:name => "Jerry", :big_tag_number => 2)
    u.row({ :name => 'Jerry' }, :big_tag_number => 3599657714)
    Pet.find_by_name('Jerry').big_tag_number.should == 3599657714
  end
end if RUBY_PLATFORM == 'java'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
upsert-2.9.10-java spec/jruby_spec.rb
upsert-2.9.10 spec/jruby_spec.rb
upsert-2.9.9-universal-java-11 spec/jruby_spec.rb
upsert-2.9.9 spec/jruby_spec.rb
upsert-2.2.1 spec/jruby_spec.rb
upsert-2.2.0 spec/jruby_spec.rb