spec/formatting/binary/string_spec.rb in ronin-0.2.2 vs spec/formatting/binary/string_spec.rb in ronin-0.2.3
- old
+ new
@@ -105,10 +105,10 @@
@string = 'hello'
@key = 0x50
end
it "should not contain the key used in the xor" do
- @string.include?(@key).should_not == true
+ @string.include?(@key.chr).should_not == true
end
it "should not equal the original string" do
@string.xor(@key).should_not == @string
end