Sha256: 458bdb57c1fe177c5ea9faad39c02c666f593632c1fe0496d21a9133fd70db0a

Contents?: true

Size: 360 Bytes

Versions: 8

Compression:

Stored size: 360 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
    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

8 entries across 8 versions & 1 rubygems

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