Sha256: 81b3aad60d82f088d94eb1427a41851b31df03235d9a8804558a811f796fa7ab

Contents?: true

Size: 304 Bytes

Versions: 56

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

# users of this test should delare the `subject` variable.
shared_examples "acts as author" do
  describe "presenter" do
    it "returns an instance of the presenter for this author" do
      expect(subject.presenter).to be_present
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
decidim-core-0.28.4 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.9 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.28.3 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.8 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.28.2 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.7 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.28.1 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.6 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.26.10 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.26.9 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.28.0 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.5 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.28.0.rc5 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.28.0.rc4 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.26.8 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.4 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.3 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.26.7 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.26.5 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb
decidim-core-0.27.2 lib/decidim/core/test/shared_examples/acts_as_author_examples.rb