gitlab-org--gitlab-foss/spec/features/profiles/user_visits_profile_spec.rb
2017-09-16 21:09:58 +11:00

15 lines
255 B
Ruby

require 'spec_helper'
describe 'User visits their profile' do
let(:user) { create(:user) }
before do
sign_in(user)
visit(profile_path)
end
it 'shows correct menu item' do
expect(page).to have_active_navigation('Profile')
end
end