blob: 1cf34478ecfbd52c4792e3b179222110add7a2d9 (
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'
RSpec.describe 'User visits the profile account page', feature_category: :users 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
|