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