Sha256: afb6cc60e1a764ede94582f35b1c0e42deb240c51888098efce647b2c9dc93ae

Contents?: true

Size: 299 Bytes

Versions: 9

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

shared_examples_for "needs admin TOS accepted" do
  context "when the user has not accepted the admin TOS" do
    it "shows a message to accept the admin TOS" do
      expect(page).to have_content("Please take a moment to review Admin Terms of Use")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-admin-0.27.9 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.27.8 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.27.7 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.27.6 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.26.10 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.26.9 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.27.5 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.26.8 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
decidim-admin-0.27.4 lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb