spec/bitcoin/protocol/txout_spec.rb in bitcoin-ruby-0.0.14 vs spec/bitcoin/protocol/txout_spec.rb in bitcoin-ruby-0.0.15

- old
+ new

@@ -21,7 +21,13 @@ (o1 == o1_1).should == true (o1 == o2).should == false (o1 == nil).should == false end + it "should update parsed script cache on script change" do + out = TxOut.new(123, "abc") + parsed = out.parsed_script + out.pk_script = "def" + out.parsed_script.should != parsed + end end