Sha256: 5c53068f8577c2e765d2dc817615c1721c55aab1ba4b14bc169efd54fc84c774

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

# spec/support/fixture_helpers.rb
module FixtureHelpers
  def create_file_fixtures(depositor = 'archivist1@example.com')
    handles = [:public_pdf, :public_mp3, :public_wav]
    handles.map { |handle| FactoryGirl.create(handle, depositor: depositor) }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sufia-6.1.0 spec/support/fixture_helpers.rb
sufia-6.0.0 spec/support/fixture_helpers.rb
sufia-6.0.0.rc4 spec/support/fixture_helpers.rb
sufia-6.0.0.rc3 spec/support/fixture_helpers.rb