spec/rbnacl/password_hash/scrypt_spec.rb in rbnacl-3.1.1 vs spec/rbnacl/password_hash/scrypt_spec.rb in rbnacl-3.1.2
- old
+ new
@@ -1,15 +1,15 @@
# encoding: binary
require 'spec_helper'
-describe RbNaCl::PasswordHash::SCrypt do
+RSpec.describe RbNaCl::PasswordHash::SCrypt do
let(:reference_password) { vector :scrypt_password }
let(:reference_salt) { vector :scrypt_salt }
let(:reference_opslimit) { RbNaCl::TestVectors[:scrypt_opslimit] }
let(:reference_memlimit) { RbNaCl::TestVectors[:scrypt_memlimit] }
let(:reference_digest) { vector :scrypt_digest }
- it "calculates the correct diest for a reference password/salt" do
+ it "calculates the correct digest for a reference password/salt" do
digest = RbNaCl::PasswordHash.scrypt(
reference_password,
reference_salt,
reference_opslimit,
reference_memlimit