summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-08-09 09:59:38 +0000
committerBob Van Landuyt <bob@gitlab.com>2019-08-09 09:59:38 +0000
commit915bc89396f6c8f7a1a82ffc3fce8ba5c0ac4a5f (patch)
tree7ea422f275c34758578a4f064c7695216abbb008 /spec/finders
parentcd81e4e31cc621bb6376ff8e6e568a4072d8716d (diff)
downloadgitlab-ce-915bc89396f6c8f7a1a82ffc3fce8ba5c0ac4a5f.tar.gz
Revert "Merge branch '4221-board-milestone-should-persist-any-none-properly-ce' into 'master'"
This reverts merge request !30613
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/issues_finder_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/issues_finder_spec.rb b/spec/finders/issues_finder_spec.rb
index bcde730c40b..879ff01f294 100644
--- a/spec/finders/issues_finder_spec.rb
+++ b/spec/finders/issues_finder_spec.rb
@@ -113,13 +113,13 @@ describe IssuesFinder do
let(:params) { { milestone_title: 'Any' } }
it 'returns issues with any assigned milestone' do
- expect(issues).to contain_exactly(issue1, issue2, issue3, issue4)
+ expect(issues).to contain_exactly(issue1)
end
it 'returns issues with any assigned milestone (deprecated)' do
params[:milestone_title] = Milestone::Any.title
- expect(issues).to contain_exactly(issue1, issue2, issue3, issue4)
+ expect(issues).to contain_exactly(issue1)
end
end