Sha256: df4616e02659458c27e496742652fa501e440edc09e0513ba66f8b0464de64d1

Contents?: true

Size: 716 Bytes

Versions: 8

Compression:

Stored size: 716 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

8 entries across 8 versions & 1 rubygems

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