Sha256: 73dfaff2194d76afb15f709f30073d5fa462e15af456ae42986b8a918c2933be

Contents?: true

Size: 472 Bytes

Versions: 9

Compression:

Stored size: 472 Bytes

Contents

# -*- coding: utf-8 -*-
# frozen_string_literal: true

require "decidim/admin/test/manage_attachments_examples"

RSpec.shared_examples "manage process attachments examples" do
  let(:attached_to) { participatory_process }

  before do
    switch_to_host(organization.host)
    login_as user, scope: :user
    visit decidim_admin.edit_participatory_process_path(participatory_process)
    click_link "Attachments"
  end

  it_behaves_like "manage attachments examples"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-0.4.4 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.4.3 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.4.2 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.4.1 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.4.0 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.3.2 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.3.1 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.3.0 decidim-admin/spec/shared/manage_process_attachments_examples.rb
decidim-0.2.0 decidim-admin/spec/shared/manage_process_attachments_examples.rb