Sha256: e2b622ed360e0052d8e7ef64fae06929cc81cfee7c8c5229f73300cc40247dce

Contents?: true

Size: 521 Bytes

Versions: 135

Compression:

Stored size: 521 Bytes

Contents

require File.expand_path('../helper', __FILE__)
begin
  old_verbose = $VERBOSE
  $VERBOSE = nil
  require 'rake/contrib/sys'
ensure
  $VERBOSE = old_verbose
end

class TestSys < Rake::TestCase

  def test_split_all
    assert_equal ['a'], Sys.split_all('a')
    assert_equal ['..'], Sys.split_all('..')
    assert_equal ['/'], Sys.split_all('/')
    assert_equal ['a', 'b'], Sys.split_all('a/b')
    assert_equal ['/', 'a', 'b'], Sys.split_all('/a/b')
    assert_equal ['..', 'a', 'b'], Sys.split_all('../a/b')
  end
end

Version data entries

135 entries across 108 versions & 25 rubygems

Version Path
rubyjobbuilderdsl-0.0.2 vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_sys.rb
rubyjobbuilderdsl-0.0.1 vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_sys.rb
gss-0.0.7 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
gss-0.0.6 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
gss-0.0.5 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
candlepin-api-0.4.0 bundle/ruby/gems/rake-0.9.2.2/test/test_sys.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/rake-0.9.2.2/test/test_sys.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
simple-client-0.0.3 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
rake-0.9.6 test/test_sys.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
rake-0.9.5 test/test_sys.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb
challah-rolls-0.2.0 vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb
challah-0.8.3 vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb
rake-0.9.4 test/test_sys.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb