Sha256: 0ce499065cdc2f9a13798cda95d2a8dba370d905a003c2c1e099b04bb5c99ba1
Contents?: true
Size: 433 Bytes
Versions: 40
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' describe ActiveFedora::FilePathBuilder do describe ".build" do let(:parent) { ActiveFedora::Base.new(id: '1234') } subject { described_class.build(parent, nil, 'FOO') } it { should eq 'FOO1' } context "when some datastreams exist" do before do allow(parent).to receive(:attached_files).and_return('FOO56' => double) end it { should eq 'FOO57' } end end end
Version data entries
40 entries across 40 versions & 1 rubygems