Sha256: e03cceef879e50f084d7079ef72f57c09cd9fa1962f2e330afebf81bf9b603e2

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

# frozen_string_literal: true
require "spec_helper"

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

  let(:manifest_name) { "proposals" }
  let!(:proposals) { create_list(:proposal, 3, feature: feature) }
  let(:reportable) { proposals.first }
  let(:reportable_path) { decidim_proposals.proposal_path(reportable, feature_id: feature, participatory_process_id: feature.participatory_process) }
  let!(:user) { create :user, :confirmed, organization: organization }

  let!(:feature) do
    create(:proposal_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-proposals/spec/features/report_proposal_spec.rb