Sha256: 0a7523730e3d21a4808e3401d2f65eebc9f180cd1b660815a9b0028214a0fc50

Contents?: true

Size: 243 Bytes

Versions: 36

Compression:

Stored size: 243 Bytes

Contents

module FakeModelWithPasswordStrategy
  def fake_model_with_password_strategy(password_strategy)
    Class.new do
      attr_reader :password
      attr_accessor :encrypted_password, :salt

      include password_strategy
    end.new
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
clearance-2.9.2 spec/support/fake_model_with_password_strategy.rb
clearance-2.9.1 spec/support/fake_model_with_password_strategy.rb
clearance-2.9.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.8.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.7.2 spec/support/fake_model_with_password_strategy.rb
clearance-2.7.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.6.2 spec/support/fake_model_with_password_strategy.rb
clearance-2.6.1 spec/support/fake_model_with_password_strategy.rb
clearance-2.6.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.5.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.4.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.3.1 spec/support/fake_model_with_password_strategy.rb
clearance-2.3.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.2.1 spec/support/fake_model_with_password_strategy.rb
clearance-2.2.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.1.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.0.0 spec/support/fake_model_with_password_strategy.rb
clearance-2.0.0.beta2 spec/support/fake_model_with_password_strategy.rb
clearance-2.0.0.beta1 spec/support/fake_model_with_password_strategy.rb
clearance-1.17.0 spec/support/fake_model_with_password_strategy.rb