Sha256: bde0fa5ffd3add9d50c2bb4a6cba69516b0476fb6b242dcbefc7a132c5e369ea

Contents?: true

Size: 180 Bytes

Versions: 21

Compression:

Stored size: 180 Bytes

Contents

describe "Hash#to_native" do
  it "should return a js object representing hash" do
    Hash.from_native({:a => 100, :b => 200}.to_native).should == {:a => 100, :b => 200}
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
opal-0.3.22 spec/opal/hash/to_native_spec.rb