Sha256: 398b223f16d9e2e7ee4d73ee082afeb6e33603c7b9e8a4b6c240bdfb99f30ff1
Contents?: true
Size: 349 Bytes
Versions: 8
Compression:
Stored size: 349 Bytes
Contents
describe "d3 - creator" do after(:each) do D3.select("#test-area").html("") end let(:root) { D3.select("#test-area") } let(:html) { root.html } it "d3.creator" do expect(D3.creator("div")).to be_instance_of(D3::Creator) D3.select("div").append(D3.creator("span")) expect(html).to eq( "<span></span>" ) end end
Version data entries
8 entries across 8 versions & 2 rubygems