An unofficial, mostly Bitwarden-compatible API server written in Ruby (Sinatra and ActiveRecord)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

user_spec: Cipher.last is not necessarily the last cipher we saved

Explicitly load it by its UUID

Fixes occasional MAC failures in this test

+1 -1
+1 -1
spec/user_spec.rb
··· 51 51 c.data = cdata.to_json 52 52 c.migrate_data!.must_equal true 53 53 54 - c = Cipher.last 54 + c = Cipher.where(:uuid => c.uuid).first 55 55 u.decrypt_data_with_master_password_key(c.to_hash["Name"], mk). 56 56 must_equal "some name" 57 57 end