Sha256: 0407004b4352480e327405c6b864b4825aa61c54f4f788e449504758f1ae2b73

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

covers 'facets/kernel/__dir__'

tests Kernel do

  # TODO: can't test b/c somehow Lemon intefers with the call stack
  # which __DIR__ uses to locate the current running file.

  omit unit :__DIR__ do
    __DIR__.assert == File.dirname(__FILE__)
  end

  omit unit :__DIR__ => "with arguments" do
    __DIR__('tmp').assert == File.join(File.dirname(__FILE__), 'tmp')
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/kernel/test_dir.rb
facets-2.9.0 test/core/kernel/test_dir.rb
facets-2.9.0.pre.2 test/core/kernel/test_dir.rb
facets-2.9.0.pre.1 test/core/kernel/test_dir.rb