blob: fad5d831c19f987d0ac9b50bfa0eaf2a577d101a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'Projects > Members > Owner cannot request access to their own project' do
let(:project) { create(:project) }
before do
sign_in(project.first_owner)
visit project_path(project)
end
it 'owner does not see the request access button' do
expect(page).not_to have_content 'Request Access'
end
end
|