gitlab-org--gitlab-foss/spec/features/profiles/user_visits_profile_account...

18 lines
311 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'User visits the profile account page' do
let(:user) { create(:user) }
before do
sign_in(user)
visit(profile_account_path)
end
it 'shows correct menu item' do
expect(page).to have_active_navigation('Account')
end
end