summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_profile_account_page_spec.rb
blob: f576a2bf9e1dcfb2638e40235f61fa3c79647e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

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