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.20.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.20.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.19.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.18.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.19.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.17.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.18.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.17.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.16.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.17.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.16.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.15.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.15.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.15.0 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.14.4 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.14.3 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.14.2 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.14.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.13.1 lib/decidim/dev/test/authorization_shared_examples.rb
decidim-dev-0.12.2 lib/decidim/dev/test/authorization_shared_examples.rb