2016-07-05 12:24:58 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
feature 'Projects > Members > Owner cannot request access to his project', feature: true do
|
|
|
|
let(:project) { create(:project) }
|
|
|
|
|
|
|
|
background do
|
2017-06-21 23:44:10 +00:00
|
|
|
sign_in(project.owner)
|
2016-07-05 12:24:58 +00:00
|
|
|
visit namespace_project_path(project.namespace, project)
|
|
|
|
end
|
|
|
|
|
|
|
|
scenario 'owner does not see the request access button' do
|
|
|
|
expect(page).not_to have_content 'Request Access'
|
|
|
|
end
|
|
|
|
end
|