Sha256: bd421c4201ac6d1f44ce61ce3f2e6d08d0379cef8c41f35a78bdd21f0c5ad540
Contents?: true
Size: 507 Bytes
Versions: 66
Compression:
Stored size: 507 Bytes
Contents
require 'spec_helper' describe CurationConcerns::RepositoryAuditService do let(:user) { FactoryGirl.create(:user) } let!(:file) do fs = FileSet.create! do |f| f.apply_depositor_metadata(user) end Hydra::Works::AddFileToFileSet.call(fs, File.open(fixture_path + '/world.png'), :original_file) fs end describe '#audit_everything' do it 'audits everything' do expect_any_instance_of(FileSet).to receive(:audit) described_class.audit_everything end end end
Version data entries
66 entries across 66 versions & 1 rubygems