diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-28 23:12:32 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-07-07 05:39:55 +0300 |
commit | d00cb00d6b62c561da79b3fc0eab579364b3e91c (patch) | |
tree | 7aad204d8f21889c7b9befc078050019521dae1f /spec/features/merge_requests/filter_by_milestone_spec.rb | |
parent | cfd813402deb631bdc4db9af68c6366ff1179f4a (diff) |
Rename NoMilestone to Milestone::None
Also refactors IssuableFinder to avoid redundant title check.
Diffstat (limited to 'spec/features/merge_requests/filter_by_milestone_spec.rb')
-rw-r--r-- | spec/features/merge_requests/filter_by_milestone_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/filter_by_milestone_spec.rb b/spec/features/merge_requests/filter_by_milestone_spec.rb index 56a9603f139..308d8101bdd 100644 --- a/spec/features/merge_requests/filter_by_milestone_spec.rb +++ b/spec/features/merge_requests/filter_by_milestone_spec.rb @@ -13,7 +13,7 @@ feature 'Merge Request filtering by Milestone' do create(:merge_request, :simple, source_project: project) visit_merge_requests - filter_by_milestone(NoMilestone.title) + filter_by_milestone(Milestone::None.title) expect(page).to have_css('.merge-request-title', count: 1) end |