diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-03 06:08:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-03 06:08:22 +0000 |
commit | d72fedf168dafcb38bd51b67f86804738000fb48 (patch) | |
tree | 24c96e700e2560835aff28ab5e4ca599875019b5 /spec/controllers/projects/milestones_controller_spec.rb | |
parent | 497b73152109b6da922e1a8ffd8ab193f7f3fcd3 (diff) | |
download | gitlab-ce-d72fedf168dafcb38bd51b67f86804738000fb48.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/projects/milestones_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/milestones_controller_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/controllers/projects/milestones_controller_spec.rb b/spec/controllers/projects/milestones_controller_spec.rb index 0c7391c1b9c..fa32d32f552 100644 --- a/spec/controllers/projects/milestones_controller_spec.rb +++ b/spec/controllers/projects/milestones_controller_spec.rb @@ -135,10 +135,6 @@ RSpec.describe Projects::MilestonesController do end describe "#destroy" do - before do - stub_feature_flags(track_resource_milestone_change_events: false) - end - it "removes milestone" do expect(issue.milestone_id).to eq(milestone.id) @@ -153,10 +149,6 @@ RSpec.describe Projects::MilestonesController do merge_request.reload expect(merge_request.milestone_id).to eq(nil) - - # Check system note left for milestone removal - last_note = project.issues.find(issue.id).notes[-1].note - expect(last_note).to eq('removed milestone') end end |