Sha256: 245bdb6fb258978558873707db9762e29f320ba887d5ce1f48e35bac74d4ff1a

Contents?: true

Size: 417 Bytes

Versions: 72

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

shared_examples "fingerprint" do
  include_context("with a component")

  it "shows a fingerprint" do
    visit(resource_locator(fingerprintable).path)
    click_link("Check fingerprint")

    within ".fingerprint-dialog" do
      expect(page).to(have_content(fingerprintable.fingerprint.value))
      expect(page).to(have_content(fingerprintable.fingerprint.source))
    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
decidim-core-0.26.1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.0 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.0.rc2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.0.rc1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.0 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.0.rc4 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.0.rc3 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.0.rc2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.25.0.rc1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.24.3 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.23.6 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.24.2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.23.5 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.24.1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.24.0 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.24.0.rc2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.23.4 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.24.0.rc1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb