Sha256: 4f21a08dc417faacb8fbd1f8dafbfb913d028cf59c0c8e6e7892a0e021d2bec5
Contents?: true
Size: 392 Bytes
Versions: 18
Compression:
Stored size: 392 Bytes
Contents
require 'helper' class Nanoc::Extra::CoreExtPathnameTest < Nanoc::TestCase def test_components assert_equal %w(/ a bb ccc dd e), Pathname.new('/a/bb/ccc/dd/e').__nanoc_components end def test_include_component assert Pathname.new('/home/ddfreyne/').__nanoc_include_component?('ddfreyne') refute Pathname.new('/home/ddfreyne/').__nanoc_include_component?('acid') end end
Version data entries
18 entries across 18 versions & 1 rubygems