Sha256: a9d82aff924215874077c2839c1af2067d3c55f79480f967daf99948b6a5b93d

Contents?: true

Size: 672 Bytes

Versions: 8

Compression:

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

8 entries across 8 versions & 1 rubygems

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