lib/decidim/dev/test/rspec_support/component_context.rb in decidim-dev-0.28.4 vs lib/decidim/dev/test/rspec_support/component_context.rb in decidim-dev-0.29.0.rc1

- old
+ new

@@ -10,10 +10,10 @@ component.update(settings: { mandatory_field => "" }) visit edit_component_path end it "does not allow updating the component" do - click_button "Update" + click_on "Update" within ".#{mandatory_field}_container" do expect(page).to have_content("There is an error in this field") end end