Sha256: d6d28db48c78e630bd732c974e6943d306bb68411ddd1a2ae45cf366a646aa7e
Contents?: true
Size: 557 Bytes
Versions: 8
Compression:
Stored size: 557 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 "should 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
8 entries across 8 versions & 1 rubygems