spec/keen/scoped_key_spec.rb in keen-0.9.7 vs spec/keen/scoped_key_spec.rb in keen-0.9.8
- old
+ new
@@ -35,10 +35,10 @@
end
end
describe "when an IV is provided" do
it "should produce the same encrypted key text for a " do
- iv = "\0" * 32
+ iv = "\0" * 16
new_scoped_key.encrypt!(iv).should == (new_scoped_key.encrypt!(iv))
end
it "should raise error when an invalid IV is supplied" do
iv = "fakeiv"