Sha256: afa2227f84ab1cb0b0f0c7c405ad06345122cf86a9983659c3a5094c14818663

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

# frozen_string_literal: true
require "spec_helper"

describe "Report Comment", type: :feature do
  include_context "feature"
  include_examples "reports"

  let(:manifest_name) { "dummy" }
  let!(:commentable) { create(:dummy_resource, feature: feature) }
  let!(:reportable) { create(:comment, commentable: commentable) }
  let(:reportable_path) { decidim_dummy.dummy_resource_path(commentable, feature_id: commentable.feature, participatory_process_id: commentable.feature.participatory_process) }

  let!(:user) { create :user, :confirmed, organization: organization }

  let!(:feature) do
    create(
      :feature,
      manifest: manifest,
      participatory_process: participatory_process
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-0.1.0 decidim-comments/spec/features/report_comment_spec.rb