From b68aa67b1d03770d801e3e9a4199fc74de02e46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 4 Apr 2022 16:00:30 +0200 Subject: [PATCH] Remove unnecessary "pending" comment The test is already working with poll question answers (which are the only ones using `has_many_images`) as well. --- spec/shared/system/nested_imageable.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/spec/shared/system/nested_imageable.rb b/spec/shared/system/nested_imageable.rb index fb83243ba09..1d6d1899e7a 100644 --- a/spec/shared/system/nested_imageable.rb +++ b/spec/shared/system/nested_imageable.rb @@ -186,12 +186,8 @@ click_on submit_button imageable_redirected_to_resource_show_or_navigate_to(imageable) - if has_many_images - # Pending. Review soon and test - else - expect(page).to have_selector "figure img" - expect(page).to have_selector "figure figcaption" if show_caption_for?(imageable_factory_name) - end + expect(page).to have_selector "figure img" + expect(page).to have_selector "figure figcaption" if show_caption_for?(imageable_factory_name) end scenario "Different URLs for different images" do