blob: 5e6e3d4d7f2fac1a7b27d8d650f4e1d2132150d2 (
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.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
|