Adds missing backport content on progressable specs
This commit is contained in:
@@ -11,7 +11,7 @@ shared_examples "progressable" do |factory_name, path_name|
|
|||||||
find("#tab-milestones-label").click
|
find("#tab-milestones-label").click
|
||||||
|
|
||||||
within("#tab-milestones") do
|
within("#tab-milestones") do
|
||||||
expect(page).to have_css "progress"
|
expect(page).to have_content "Progress"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ shared_examples "progressable" do |factory_name, path_name|
|
|||||||
find("#tab-milestones-label").click
|
find("#tab-milestones-label").click
|
||||||
|
|
||||||
within("#tab-milestones") do
|
within("#tab-milestones") do
|
||||||
expect(page).to have_css "progress"
|
expect(page).to have_content "Progress"
|
||||||
expect(page).to have_content "Build laboratory"
|
expect(page).to have_content "Build laboratory"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -37,6 +37,7 @@ shared_examples "progressable" do |factory_name, path_name|
|
|||||||
find("#tab-milestones-label").click
|
find("#tab-milestones-label").click
|
||||||
|
|
||||||
within("#tab-milestones") do
|
within("#tab-milestones") do
|
||||||
|
expect(page).not_to have_content "Progress"
|
||||||
expect(page).not_to have_content "Defeat Evil Lords"
|
expect(page).not_to have_content "Defeat Evil Lords"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user