spec/bitcoin/script/opcodes_spec.rb in bitcoin-ruby-0.0.3 vs spec/bitcoin/script/opcodes_spec.rb in bitcoin-ruby-0.0.4

- old
+ new

@@ -540,9 +540,15 @@ run_script(script, "foobar").should == true script = "0 #{sig1} #{sig2} 2 #{k1.pub} #{k2.pub} 2 OP_CHECKMULTISIG" run_script(script, "foobar").should == true + script = "0 #{sig2} #{sig1} 2 #{k1.pub} #{k2.pub} 2 OP_CHECKMULTISIG" + run_script(script, "foobar").should == false + + script = "0 #{sig1} #{sig2} 2 #{k2.pub} #{k1.pub} 2 OP_CHECKMULTISIG" + run_script(script, "foobar").should == false + script = "0 #{sig1} #{sig2} 2 #{k1.pub} #{k2.pub} #{k3.pub} 3 OP_CHECKMULTISIG" run_script(script, "foobar").should == true script = "0 #{sig2} #{sig3} 2 #{k1.pub} #{k2.pub} #{k3.pub} 3 OP_CHECKMULTISIG" run_script(script, "foobar").should == true