23 lines
412 B
Ruby
23 lines
412 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe 'Group navbar' do
|
|
include NavbarStructureHelper
|
|
|
|
include_context 'group navbar structure'
|
|
|
|
let_it_be(:user) { create(:user) }
|
|
let_it_be(:group) { create(:group) }
|
|
|
|
before do
|
|
group.add_maintainer(user)
|
|
sign_in(user)
|
|
end
|
|
|
|
it_behaves_like 'verified navigation bar' do
|
|
before do
|
|
visit group_path(group)
|
|
end
|
|
end
|
|
end
|