Sha256: d46e2346a1e4e78f3c36bab7ac4bc84a92621c56fffa2e551fba098f8c9ef411

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

require "decidim/admin/test/manage_attachments_examples"

RSpec.shared_examples "manage meetings attachments" do
  let(:attached_to) { meeting }

  before do
    within find("tr", text: translated(meeting.title)) do
      find("a.action-icon--attachments").click
    end
  end

  it_behaves_like "manage attachments examples"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-0.4.4 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.4.3 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.4.2 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.4.1 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.4.0 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.3.2 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.3.1 decidim-meetings/spec/shared/manage_attachments_examples.rb
decidim-0.3.0 decidim-meetings/spec/shared/manage_attachments_examples.rb