Sha256: 610e6a88b95ba589a02d3dac8c76ae4bfb01138748be75874626aa8698643618
Contents?: true
Size: 486 Bytes
Versions: 11
Compression:
Stored size: 486 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 ressources.each do |ressource| expect(page).not_to have_link(resource_locator(ressource).path) end end end
Version data entries
11 entries across 11 versions & 1 rubygems