Sha256: d5643850f27309f022a892b6b2da735c6378c46f469f8e2d26216eb3343a1b44

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: binary -*-

$:.unshift(File.join(File.dirname(__FILE__), '..'))

require 'test/unit'
require 'rex/file'

class Rex::FileUtils::UnitTest < ::Test::Unit::TestCase
	Klass = Rex::FileUtils

	def test_find_full_path
		assert_not_nil(Klass.find_full_path("ls"))
		assert_nil(Klass.find_full_path("cookie monster cake"))
	end
		
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/file.rb.ut.rb
librex-0.0.66 lib/rex/file.rb.ut.rb