Sha256: aa717774424e84de49a02e753d4a12d81c1b9ccce5301996ede732a909cf5535

Contents?: true

Size: 433 Bytes

Versions: 88

Compression:

Stored size: 433 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

88 entries across 88 versions & 1 rubygems

Version Path
decidim-dev-0.29.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.4 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.27.9 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.29.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.27.8 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.29.0.rc4 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.29.0.rc3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.29.0.rc2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.29.0.rc1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.27.7 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.27.6 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.26.10 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.26.9 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.27.5 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.0.rc5 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.28.0.rc4 lib/decidim/dev/test/authorization_shared_examples.rb