Sha256: 0f8148f3b6343d07141838773a1cc9222c8267cb2f1a8dafd24fc70d725bbce0

Contents?: true

Size: 283 Bytes

Versions: 82

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.around(:each, :processing_uploads_for) do |example|
    uploader = example.metadata[:processing_uploads_for]

    uploader.enable_processing = true

    example.run

    uploader.enable_processing = false
  end
end

Version data entries

82 entries across 82 versions & 2 rubygems

Version Path
decidim-dev-0.24.3 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.6 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.24.2 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.5 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.24.1 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.24.0 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.24.0.rc2 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.4 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.24.0.rc1 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.3 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.2 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.1 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.1.rc1 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.23.0 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.22.0 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.21.0 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.20.1 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.20.0 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.19.1 lib/decidim/dev/test/rspec_support/attachments.rb
decidim-dev-0.18.1 lib/decidim/dev/test/rspec_support/attachments.rb