Commit 370c15a5 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'simplify-plan-ee-qa-tests' into 'master'

Simplify Plan EE QA tests

See merge request gitlab-org/gitlab!23540
parents f7c9c356 a73f85d8
......@@ -16,6 +16,10 @@ module QA
end
end
def initialize
@title = "project-milestone-#{SecureRandom.hex(8)}"
end
def resource_web_url(resource)
super
rescue ResourceURLMissingError
......
......@@ -7,7 +7,6 @@ module QA
let(:milestone) do
QA::EE::Resource::ProjectMilestone.fabricate_via_api! do |m|
m.title = 'v1'
m.start_date = current_date_yyyy_mm_dd
m.due_date = next_month_yyyy_mm_dd
end
......
......@@ -8,9 +8,7 @@ module QA
end
let(:milestone) do
QA::EE::Resource::ProjectMilestone.fabricate_via_api! do |m|
m.title = 'the-fellowship-of-the-ring'
end
QA::EE::Resource::ProjectMilestone.fabricate_via_api!
end
let(:weight) { 1000 }
......
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