Sha256: dea263503ebe8ce128da888cb66facf6e2baf211988692b9241b3964ca8c6aac
Contents?: true
Size: 690 Bytes
Versions: 2
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe "Process admin manages comments", type: :feature do include_context "admin" let(:user) { process_admin } it_behaves_like "manage moderations" include_context "feature" let(:manifest_name) { "proposals" } let!(:resources) { create_list(:dummy_resource, 3, feature: current_feature) } let!(:reportables) do resources.map do |resource| create(:comment, commentable: resource) end end 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-comments/spec/features/process_admin_manages_comments_spec.rb |
decidim-0.1.0 | decidim-comments/spec/features/process_admin_manages_comments_spec.rb |