Sha256: c7d73ff461f7e9e0a3e894786e9264afe4c627687b06a9d65e109f34c593ea1d
Contents?: true
Size: 407 Bytes
Versions: 21
Compression:
Stored size: 407 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
21 entries across 21 versions & 5 rubygems