Sha256: 61be9df8cb89f08fbfff18d0b2b39104c1ad72504b7c21dc40a3839619ded199

Contents?: true

Size: 561 Bytes

Versions: 43

Compression:

Stored size: 561 Bytes

Contents

require 'rails_helper'

RSpec.describe '/de/backend/system/active_storage/blobs', type: :feature do
  let(:resource_class) { ActiveStorage::Blob }
  let(:resource) { create(:active_storage_blob) }
  let(:resources) { create_list(:active_storage_blob, 3) }

  # List
  it { resources; expect(subject).to implement_index_action(self) }

  # Read
  it { expect(subject).to implement_show_action(self).for(resource) }

  # Delete
  it {
    expect(subject).to implement_delete_action(self)
      .for(resource)
      .reducing{ resource_class.count }.by(1)
  }
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
cmor_system-0.0.51.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system-0.0.50.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system-0.0.49.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system-0.0.48.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system-0.0.45.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system-0.0.44.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.43.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.42.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.41.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.40.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.39.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.38.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.37.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.36.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.35.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.34.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.33.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.32.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.31.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb
cmor_system_backend-0.0.30.pre spec/features/de/backend/system/active_storage/blobs_feature_spec.rb