Sha256: 8addf9aab4da4968babbfb54e2b0e7605335f6863a2fa31e02830f3bc4f0fa41

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe "Comments", type: :feature, perform_enqueued: true do
  let!(:feature) { create(:proposal_feature, organization: organization) }
  let!(:author) { create(:user, :confirmed, organization: organization) }
  let!(:commentable) { create(:proposal, feature: feature, author: author) }

  let(:resource_path) { decidim_proposals.proposal_path(commentable, feature_id: feature, participatory_process_id: feature.participatory_process) }
  include_examples "comments"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-0.4.3 decidim-proposals/spec/features/comments_spec.rb
decidim-0.4.2 decidim-proposals/spec/features/comments_spec.rb
decidim-0.4.1 decidim-proposals/spec/features/comments_spec.rb
decidim-0.4.0 decidim-proposals/spec/features/comments_spec.rb
decidim-0.3.2 decidim-proposals/spec/features/comments_spec.rb
decidim-0.3.1 decidim-proposals/spec/features/comments_spec.rb
decidim-0.3.0 decidim-proposals/spec/features/comments_spec.rb
decidim-0.2.0 decidim-proposals/spec/features/comments_spec.rb