Sha256: afbc279518be33390acc0e3108386b329d12da3e7110fe24348e791d727297f3
Contents?: true
Size: 329 Bytes
Versions: 19
Compression:
Stored size: 329 Bytes
Contents
RSpec.shared_examples 'Nyauth::ResetPasswordAvility' do |klass| let!(:instance) { create(klass.name.downcase.to_sym) } describe '#request_reset_password' do subject { instance.request_reset_password } it do expect { subject }.to change(instance, :reset_password_key).from(nil) end end end
Version data entries
19 entries across 19 versions & 1 rubygems