diff options
Diffstat (limited to 'spec/features/dashboard/projects_spec.rb')
-rw-r--r-- | spec/features/dashboard/projects_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/features/dashboard/projects_spec.rb b/spec/features/dashboard/projects_spec.rb index 04b7f1ca821..747d09f5d08 100644 --- a/spec/features/dashboard/projects_spec.rb +++ b/spec/features/dashboard/projects_spec.rb @@ -117,9 +117,7 @@ RSpec.describe 'Dashboard Projects', feature_category: :groups_and_projects do it 'shows the empty state when there are no starred projects' do visit(starred_dashboard_projects_path) - element = page.find('.row.empty-state') - - expect(element).to have_content("You don't have starred projects yet.") + expect(page).to have_text(s_("StarredProjectsEmptyState|You don't have starred projects yet.")) end it 'shows only starred projects' do |