Sha256: 7ccb63c209b8016144d097ab70dd547c5e057eb19efaab68d71b520a1b851bd4
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true require "decidim/admin/test/manage_attachments_examples" RSpec.shared_examples "manage project attachments" do let(:attached_to) { project } 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) within find("tr", text: translated(project.title)) do find("a.action-icon--attachments").click end end it_behaves_like "manage attachments examples" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-0.1.0 | decidim-budgets/spec/shared/manage_attachments_examples.rb |