Sha256: 28dec3bf3e4174454e4d7a82022770f20274e535fb6af9ded775a03226869ee7
Contents?: true
Size: 406 Bytes
Versions: 3
Compression:
Stored size: 406 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper.rb' ## # This is not a complete specification of PreCommit, but # just a collection of bug fix regression tests. describe "The helper method PreCommit#silent_sh" do before do @pre_commit = PreCommit.new(nil) end # bug in r1802 it "should return the command output" do @pre_commit.send(:silent_sh, "echo foo").should ==("foo\n") end end
Version data entries
3 entries across 3 versions & 1 rubygems