diff options
| author | Robert | 2017-05-15 17:38:38 +0200 | 
|---|---|---|
| committer | Robert | 2017-05-18 18:42:22 +0200 | 
| commit | bfec2b6e73747193052639ee2bbf4340409510dc (patch) | |
| tree | 0d37ba9564781b5db7ba2edf7f8de53a06c91b33 /spec/features/line_footnotes_spec.rb | |
| parent | 8872c4707b806ff4ae412de99a561495c20fbc51 (diff) | |
| download | chouette-core-bfec2b6e73747193052639ee2bbf4340409510dc.tar.bz2 | |
Refs: #3144; calendar, line_footnotes and routes speced (spec/features)
Diffstat (limited to 'spec/features/line_footnotes_spec.rb')
| -rw-r--r-- | spec/features/line_footnotes_spec.rb | 14 | 
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 | 
