Skip to content

Commit

Permalink
Fix reference to the new MiqPassword::Key
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Feb 28, 2017
1 parent 1261a46 commit 98b116a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/tools/fix_auth/auth_model_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require "fix_auth/models"

describe FixAuth::AuthModel do
let(:v0_key) { CryptString.new(nil, "AES-128-CBC", "9999999999999999", "5555555555555555") }
let(:v0_key) { MiqPassword::Key.new("AES-128-CBC", Base64.encode64("9999999999999999"), Base64.encode64("5555555555555555")) }
let(:v1_key) { MiqPassword.generate_symmetric }
let(:pass) { "password" }
let(:enc_v1) { MiqPassword.new.encrypt(pass, "v1", v1_key) }
Expand Down

0 comments on commit 98b116a

Please sign in to comment.