Sha256: fe89296c3aa40af2cc19305cb91323a360650f441e30e48facefe3c195da53db
Contents?: true
Size: 551 Bytes
Versions: 6
Compression:
Stored size: 551 Bytes
Contents
require 'spec_helper' describe Sufia::GenericFile::Characterization, type: :model do before do class TestClass < ActiveFedora::Base include Sufia::GenericFile::Characterization contains 'content', class_name: 'FileContentDatastream' attr_accessor :title, :creator end end after do Object.send(:remove_const, :TestClass) end subject { TestClass.new } it "does not depend on anything except a file datastream and some property accessors" do expect { subject.characterize }.to_not raise_error end end
Version data entries
6 entries across 6 versions & 1 rubygems