Sha256: c0b07efd127fd580334a871c205fc7a156be9a07e9d16c328a7a283fb847e8ef
Contents?: true
Size: 696 Bytes
Versions: 9
Compression:
Stored size: 696 Bytes
Contents
feature 'Editing a work', type: :feature do let(:user) { create(:user) } let(:work) { build(:work, user: user) } before do sign_in user work.ordered_members << create(:file_set, user: user, title: ['ABC123xyz']) work.read_groups = [] work.save! end context 'when the user changes permissions' do it 'confirms copying permissions to files using Sufia layout' do visit edit_curation_concerns_generic_work_path(work) choose('generic_work_visibility_open') check('agreement') click_on('Save') expect(page).to have_content 'Apply changes to contents?' expect(page).not_to have_content "Powered by CurationConcerns" end end end
Version data entries
9 entries across 9 versions & 1 rubygems