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.27.9 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.8 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.7 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.6 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.10 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.9 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.5 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.8 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.4 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.3 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.7 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.5 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.4 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.0 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.3 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.0.rc2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.27.0.rc1 lib/decidim/core/test/shared_examples/fingerprint_examples.rb
decidim-core-0.26.2 lib/decidim/core/test/shared_examples/fingerprint_examples.rb