Sha256: bc77d4c1f3026edee4e28f6e81bb46afcde52a2ae45b2d9699300d59e07c466e
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 Bytes
Contents
require 'simplecov' SimpleCov.start do add_filter do |source_file| source_file.filename =~ /test/ end end require 'coveralls' Coveralls.wear! require 'minitest/autorun' def pending begin yield fail "OMG pending test passed." rescue MiniTest::Assertion skip "Still pending" end end class String def strip_heredoc indent = scan(/^[ \t]*(?=\S)/).min.send(:size) || 0 gsub(/^[ \t]{#{indent}}/, '') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
json-merge_patch-1.1.0 | test/test_helper.rb |
json-merge_patch-1.0.0 | test/test_helper.rb |