Remove unnecessary "pending" comment
The test is already working with poll question answers (which are the only ones using `has_many_images`) as well.
This commit is contained in:
@@ -186,13 +186,9 @@ shared_examples "nested imageable" do |imageable_factory_name, path, imageable_p
|
|||||||
click_on submit_button
|
click_on submit_button
|
||||||
imageable_redirected_to_resource_show_or_navigate_to(imageable)
|
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 img"
|
||||||
expect(page).to have_selector "figure figcaption" if show_caption_for?(imageable_factory_name)
|
expect(page).to have_selector "figure figcaption" if show_caption_for?(imageable_factory_name)
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
scenario "Different URLs for different images" do
|
scenario "Different URLs for different images" do
|
||||||
do_login_for user, management: management
|
do_login_for user, management: management
|
||||||
|
|||||||
Reference in New Issue
Block a user