Skip to content

Commit

Permalink
Remove unnecessary "pending" comment
Browse files Browse the repository at this point in the history
The test is already working with poll question answers (which are the
only ones using `has_many_images`) as well.
  • Loading branch information
javierm committed Apr 7, 2022
1 parent 5864044 commit b5038b4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spec/shared/system/nested_imageable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5038b4

Please sign in to comment.