mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
9 lines
231 B
Ruby
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
|