diff options
| author | Xinhui | 2017-05-23 11:54:05 +0200 |
|---|---|---|
| committer | Xinhui | 2017-05-23 11:54:11 +0200 |
| commit | f47654ea82d1e418f99df107ed899664c3c6ba2e (patch) | |
| tree | 019a718a20cdd5201b3ffeb12682a3ea5ef03622 /spec | |
| parent | 7eb6dab3d9a1fcbc374b522d840f8a6829f83051 (diff) | |
| download | chouette-core-f47654ea82d1e418f99df107ed899664c3c6ba2e.tar.bz2 | |
Fix create time_table with calendar association
Refs #2347
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/features/time_tables_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/time_tables_spec.rb b/spec/features/time_tables_spec.rb index 06ae9bac3..58a1dc98f 100644 --- a/spec/features/time_tables_spec.rb +++ b/spec/features/time_tables_spec.rb @@ -67,6 +67,10 @@ describe "TimeTables", :type => :feature do expect(page).to have_content(time_tables.first.comment) end + it 'should not show actualize link on time_tabl without calendar' do + expect(page).not_to have_content(I18n.t('time_tables.actions.actualize')) + end + # context 'user has permission to create time tables' do # it 'shows a create link for time tables' do # expect(page).to have_content(I18n.t('time_tables.actions.new')) |
