Sha256: 272d95a74263c997e0a1ce0d3f957de3dc9cac7052ddca409e6bd341de935b5e

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 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

3 entries across 3 versions & 1 rubygems

Version Path
sufia-6.0.0.rc2 spec/support/fixture_helpers.rb
sufia-6.0.0.rc1 spec/support/fixture_helpers.rb
sufia-6.0.0.beta1 spec/support/fixture_helpers.rb