16 lines
367 B
Ruby
16 lines
367 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe 'Projects > Members > Owner cannot request access to his 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
|