require'rails_helper'describe'Merge request > User sees deleted target branch',:jsdolet(:merge_request){create(:merge_request)}let(:project){merge_request.project}let(:user){project.creator}beforedoproject.add_master(user)DeleteBranchService.new(project,user).execute('feature')sign_in(user)visitproject_merge_request_path(project,merge_request)endit'shows a message about missing target branch'doexpect(page).tohave_content('Target branch does not exist')endit'does not show link to target branch'doexpect(page).not_tohave_selector('.mr-widget-body .js-branch-text a')endend