diff options
Diffstat (limited to 'spec/features/admin/dashboard_spec.rb')
-rw-r--r-- | spec/features/admin/dashboard_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/admin/dashboard_spec.rb b/spec/features/admin/dashboard_spec.rb index 112dc9e01d8..e7ff8c23a8c 100644 --- a/spec/features/admin/dashboard_spec.rb +++ b/spec/features/admin/dashboard_spec.rb @@ -53,4 +53,14 @@ RSpec.describe 'admin visits dashboard' do expect(page).to have_content('Active users 71') end end + + describe 'Version check', :js do + it 'shows badge on CE' do + visit admin_root_path + + page.within('.admin-dashboard') do + expect(find('.badge')).to have_content('Up to date') + end + end + end end |