Sha256: 84e0ff843b08092ddc1b5d782af263ba209fa33a86a52ee9566df0f240a754a3

Contents?: true

Size: 260 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
sufia-6.7.0 spec/support/fixture_helpers.rb
sufia-6.6.1 spec/support/fixture_helpers.rb
sufia-6.6.0 spec/support/fixture_helpers.rb
sufia-6.5.0 spec/support/fixture_helpers.rb
sufia-6.4.0 spec/support/fixture_helpers.rb
sufia-6.3.0 spec/support/fixture_helpers.rb
sufia-6.2.0 spec/support/fixture_helpers.rb