Update encryption.feature

This commit is contained in:
Michael Parks 2014-06-26 11:43:47 -06:00
parent 4bfe4d9ddc
commit 362107f853

View file

@ -17,7 +17,7 @@
Given we use the config "basic.json" Given we use the config "basic.json"
When we run "jrnl --encrypt" and enter "swordfish" When we run "jrnl --encrypt" and enter "swordfish"
Then we should see the message "Confirm Password:" Then we should see the message "Confirm Password:"
When we enter "swordfish" again When we enter "swordfish"
Then we should see the message "Journal encrypted" Then we should see the message "Journal encrypted"
and the config for journal "default" should have "encrypt" set to "bool:True" and the config for journal "default" should have "encrypt" set to "bool:True"
When we run "jrnl -n 1" and enter "swordfish" When we run "jrnl -n 1" and enter "swordfish"
@ -33,7 +33,7 @@
Given we use the config "multiple.json" Given we use the config "multiple.json"
When we run "jrnl simple --encrypt" and enter "sabertooth" When we run "jrnl simple --encrypt" and enter "sabertooth"
Then we should see the message "Confirm Password:" Then we should see the message "Confirm Password:"
When we enter "sabertooh" again When we enter "sabertooth"
and we set the keychain password of "simple" to "sabertooth" and we set the keychain password of "simple" to "sabertooth"
Then the config for journal "simple" should have "encrypt" set to "bool:True" Then the config for journal "simple" should have "encrypt" set to "bool:True"
When we run "jrnl simple -n 1" When we run "jrnl simple -n 1"