Sha256: ca77c13750613180ef959207454cad7c5eba70de1d803169241b5d6a632842d0
Contents?: true
Size: 812 Bytes
Versions: 2
Compression:
Stored size: 812 Bytes
Contents
require 'spec_helper' describe HydraPbcore::Templates do before :each do class TestClass def self.define_template arg end include HydraPbcore::Templates end @test = TestClass.new end describe "#digital_instantiation" do it "should return a template for a digital instantiaion" do save_template @test.digital_instantiation, "digital_instantiation_template.xml" tmp_file_should_match_exemplar("digital_instantiation_template.xml") end end describe "#physical_instantiation" do it "should create a template for physical instantiaions such as tapes" do save_template @test.physical_instantiation, "physical_instantiation_template.xml" tmp_file_should_match_exemplar("physical_instantiation_template.xml") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hydra-pbcore-2.1.0 | spec/templates_spec.rb |
hydra-pbcore-2.0.0 | spec/templates_spec.rb |