Sha256: c84fa41390bac52ac5b2b87ecea00886b788569366e30fe15831de60fcc422e3

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

require 'spec_helper'
require 'misc_shared'

RSpec.describe IiifPrint::Jobs::CreateRelationshipsJob do
  # TODO: add specs
  let(:parent) { WorkWithIiifPrintConfig.new(title: ['required title']) }
  let(:my_user) { build(:user) }
  let(:parent_model) { WorkWithIiifPrintConfig }
  let(:child_model) { WorkWithIiifPrintConfig }

  let(:subject) { described_class.perform(user: my_user, parent_id: parent.id, parent_model: parent_model, child_model: child_model) }

  describe '#perform' do
    xit 'loads all child work ids into ordered_members' do
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iiif_print-1.0.0 spec/iiif_print/jobs/create_relationships_job_spec.rb