Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorcy committed Nov 30, 2023
1 parent 575da9c commit 121886f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/features/collection_actions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def course_collections
end

context 'button existence and permissions' do
scenario 'show screen should have the right buttons and not the wrong ones', js: true, noci_local: true do
scenario 'show screen should have the right buttons and not the wrong ones', noci_local: true do
visit collection_page
buttons = find('.show-collection-buttons')
expect(buttons).not_to have_content('Download PDF')
Expand All @@ -45,7 +45,7 @@ def course_collections
expect(buttons).to have_content('Download Powerpoint')
end

scenario 'can copy and download other peoples collections, but cant manage them', js: true, noci_local: true do
scenario 'can copy and download other peoples collections, but cant manage them', noci_local: true do
other_coll = create(:personal_collection)
other_coll.add_member_objects([image.id])

Expand All @@ -58,7 +58,7 @@ def course_collections
expect(buttons).to have_content('Download Powerpoint')
end

scenario 'edit screen should have the right buttons and not the wrong ones', js: true, noci_local: true do
scenario 'edit screen should have the right buttons and not the wrong ones', noci_local: true do
user.add_role('admin')

visit dashboard_page
Expand Down

0 comments on commit 121886f

Please sign in to comment.