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