Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_visits_profile_account_page_spec.rb « profiles « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8c08a680d7c5df88dbeea7f400cb094e246e2b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

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