Sha256: 50a5794b50eb000351a78c87b7ce9a8b30cc9419a07894bf41403910ecc985dd

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

require_relative '../../lib/bio-publisci.rb'

describe PubliSci::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 = PubliSci::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

1 entries across 1 versions & 1 rubygems

Version Path
bio-publisci-0.0.7 spec/ORM/data_cube_orm_spec.rb