BigW Consortium Gitlab
require 'spec_helper'
feature 'Projects > Members > Owner cannot leave project' do
let(:project) { create(:project) }
background do
sign_in(project.owner)
visit project_path(project)
end
scenario 'user does not see a "Leave project" link' do expect(page).not_to have_content 'Leave project'
end end