Sha256: b31473b360b83e7a8e4f111f324cf9f7ef7f9365eb3311a6e798e411c39f8fed

Contents?: true

Size: 451 Bytes

Versions: 37

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

RSpec.shared_context "when a resource is ready for global search" do
  let!(:organization) { create(:organization) }
  let!(:author) { create(:user, :admin, organization: organization) }
  let!(:scope1) { create :scope, organization: organization }

  let(:test_locales) { [:ca, :en, :es] }
  let(:description_1) do
    Decidim::Faker::Localized.prefixed("Poemes als terrats de l'Empordà, Ow!", test_locales)
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-core-0.26.10 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.9 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.8 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.7 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.5 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.4 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.3 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.2 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.1 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.0 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.0.rc2 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.26.0.rc1 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.2 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.1 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.0 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.0.rc4 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.0.rc3 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.0.rc2 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.25.0.rc1 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb
decidim-core-0.24.3 lib/decidim/core/test/shared_examples/searchable_resources_shared_context.rb