Sha256: 01089f14c70ef6efcb48183d37c7dd9c6f7fe927b825be4391e3734592d351d8

Contents?: true

Size: 430 Bytes

Versions: 38

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

shared_examples "an authorization handler" do
  describe "to_partial_path" do
    subject { handler.to_partial_path }
    it { is_expected.to be_kind_of(String) }
  end

  describe "handler_name" do
    subject { handler.handler_name }
    it { is_expected.to be_kind_of(String) }
  end

  describe "metadata" do
    subject { handler.metadata }
    it { is_expected.to be_kind_of(Hash) }
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
decidim-dev-0.10.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.10.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.9.3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.9.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.9.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.9.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.8.4 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.8.3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.8.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.8.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.8.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.7.4 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.7.3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.7.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.7.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.7.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.8 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.8 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.7 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.7 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb