Sha256: 58a07cbfd16307e5c9b31350ae842f8d14de6c4678ac1e1e3a41ac124e0da4f1
Contents?: true
Size: 485 Bytes
Versions: 45
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true require "spec_helper" shared_examples "an uncommentable component" do let!(:component) do create(:component, manifest: manifest, participatory_space: participatory_space) end it "doesn't displays comments count" do component.update!(settings: { comments_enabled: false }) visit_component resources.each do |ressource| expect(page).not_to have_link(resource_locator(ressource).path) end end end
Version data entries
45 entries across 45 versions & 1 rubygems