aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/time_tables_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/time_tables_spec.rb')
-rw-r--r--spec/features/time_tables_spec.rb4
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'))