Sha256: 2cc8b29e700b1e8d516d2b583125be6f690b6c30fba10dcf13e94d7ecc780b3d
Contents?: true
Size: 399 Bytes
Versions: 5
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe Zizia::PreIngestFile do let(:pre_ingest_work) { FactoryBot.create(:pre_ingest_work) } let(:pre_ingest_file) { FactoryBot.create(:pre_ingest_file, pre_ingest_work_id: pre_ingest_work.id) } let(:basename) { 'my.csv' } it 'can get the basename for the file' do expect(pre_ingest_file.basename).to eq(basename) end end
Version data entries
5 entries across 5 versions & 1 rubygems