Sha256: 35bc77b0c80c8e14a3c595107ef2e8b4dccacffb9ac2b571d3ea3f8bc239a2b8

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe "Process admin manages proposals", type: :feature do
  include_context "admin"
  let(:user) { process_admin }
  it_behaves_like "manage proposals"
  it_behaves_like "manage moderations"
  it_behaves_like "export proposals"
  include_context "feature"
  let(:manifest_name) { "proposals" }

  let!(:reportables) { create_list(:proposal, 3, feature: current_feature) }

  before do
    switch_to_host(organization.host)
    login_as user, scope: :user
    visit decidim_admin.manage_feature_path(participatory_process_id: participatory_process, feature_id: current_feature)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-0.2.0 decidim-proposals/spec/features/process_admin_manages_proposals_spec.rb
decidim-0.1.0 decidim-proposals/spec/features/process_admin_manages_proposals_spec.rb