spec/fernet_spec.rb in fernet-0.0.2 vs spec/fernet_spec.rb in fernet-0.1

- old
+ new

@@ -53,6 +53,12 @@ generator.data = token_data end Fernet.verify(secret, token).should be_true end + + it 'generates without custom data' do + token = Fernet.generate(secret) + + Fernet.verify(secret, token).should be_true + end end