Sha256: 3d94e0fb99b227abafdbfc43e823a99c8f5ab49ccaff75ab8b871d836fc932b1
Contents?: true
Size: 412 Bytes
Versions: 3
Compression:
Stored size: 412 Bytes
Contents
require_relative '../../lib/bio-publisci.rb' describe R2RDF::ORM::DataCube do it "should load and save a turtle file without loss of information" do ref = IO.read(File.dirname(__FILE__) + '/../turtle/bacon') cube = R2RDF::ORM::DataCube.load(ref, {skip_metadata: true, generator_options: {label_column: 0}}) cube.abbreviate_known(cube.to_n3).should == ref # cube.to_n3.should == ref end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bio-publisci-0.0.6 | spec/ORM/data_cube_orm_spec.rb |
bio-publisci-0.0.5 | spec/ORM/data_cube_orm_spec.rb |
bio-publisci-0.0.4 | spec/ORM/data_cube_orm_spec.rb |