Sha256: c01a7493db200104b3c9e019d39660047c7ec683a3f3eaf4118fd4cced497906

Contents?: true

Size: 363 Bytes

Versions: 21

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

require_relative '../../../lib/cl_wiki_lib'
require File.expand_path('test_base', __dir__)

require 'minitest/autorun'

class EncryptingUser < ClWiki::UserBase
  attr_reader :name

  def initialize(name = 'encrypting test user')
    @name = name
  end

  def can_encrypt?
    true
  end

  def encryption_key
    '0' * 64
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
clwiki-3.3.2 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.3.0 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.6 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.5 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.4 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.3 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.2 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.1 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.2.0 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.6 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.5 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.4 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.3 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.2 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.1 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.1.0 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.0.4 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.0.3 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.0.2 test/lib/clwiki/clwiki_test_helper.rb
clwiki-3.0.1 test/lib/clwiki/clwiki_test_helper.rb