spec/session_spec.rb in lastpass-1.5.0 vs spec/session_spec.rb in lastpass-1.6.0
- old
+ new
@@ -4,11 +4,13 @@
require "spec_helper"
describe LastPass::Session do
let(:id) { "53ru,Hb713QnEVM5zWZ16jMvxS0" }
let(:key_iteration_count) { 5000 }
+ let(:encrypted_private_key) { "DEADBEEF" }
- subject { LastPass::Session.new id, key_iteration_count }
+ subject { LastPass::Session.new id, key_iteration_count, encrypted_private_key }
its(:id) { should eq id }
its(:key_iteration_count) { should eq key_iteration_count }
+ its(:encrypted_private_key) { should eq encrypted_private_key }
end