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.6.6 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.6 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.5 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.5 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.4 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.4 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.3 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.2 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.1 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.6.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.6.0 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.5.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.5.1 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.5.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-0.5.0 decidim-dev/lib/decidim/dev/test/authorization_shared_examples.rb