aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/line_footnotes_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/line_footnotes_spec.rb')
-rw-r--r--spec/features/line_footnotes_spec.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/spec/features/line_footnotes_spec.rb b/spec/features/line_footnotes_spec.rb
index 0273ee288..4d77cba41 100644
--- a/spec/features/line_footnotes_spec.rb
+++ b/spec/features/line_footnotes_spec.rb
@@ -27,18 +27,6 @@ describe 'Line Footnotes', type: :feature do
expect(page).not_to have_content(I18n.t('actions.add'))
end
- context 'user has permission to edit footnotes' do
- it 'shows edit link for footnotes' do
- expect(page).to have_content(I18n.t('actions.edit'))
- end
- end
-
- context 'user does not have permission to edit footnotes' do
- it 'does not show edit link for footnotes' do
- @user.update_attribute(:permissions, [])
- visit referential_line_footnotes_path(referential.line_referential, line)
- expect(page).not_to have_content(I18n.t('lines.actions.edit_footnotes'))
- end
- end
end
+
end