Commit 7e1e1389 authored by Bryce Johnson's avatar Bryce Johnson

Remove spec from created_from_fork_spec.

parent 41e0029c
......@@ -63,21 +63,6 @@ feature 'Merge request created from fork' do
end
end
context 'user can merge into source project but cannot push to fork' do
given(:user2) { create(:user) }
background do
project.team << [user2, :master]
logout
login_as user2
visit_merge_request(merge_request)
end
scenario 'user cannot remove source branch', js: true do
expect(page).to have_field('remove-source-branch-input', disabled: true)
end
end
def visit_merge_request(mr)
visit namespace_project_merge_request_path(project.namespace,
project, mr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment