1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/v8/conversion_spec.rb
2012-06-17 02:42:23 -05:00

9 lines
231 B
Ruby

require 'spec_helper'
require 'bigdecimal'
describe V8::Conversion do
it "can embed BigDecimal values" do
cxt = V8::Context.new
cxt['big'] = BigDecimal.new('1.1')
cxt['big'].should eql BigDecimal.new('1.1')
end
end