Sha256: 1fba3bf5a137241cbe5dd9006c500caa439e9f5e87f33ca2a8b94b9baa22c25b

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 Bytes

Contents

$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
require 'test_helper'

context 'Installing from a RipfilePackage' do
  setup_with_fs do
    @package = fresh_ripfile('simple.rip')
    @source  = @package.source
  end

  test "installs the lib files" do
    Rip::Commands.install({}, @source)

    filelibpath = Rip.dir + '/active/lib/simple-file-3.2.1.rb'
    assert File.exists?(filelibpath), 'FilePackage should be installed'

    dirlibpath = Rip.dir + '/active/lib/simple_c.rb'
    assert File.exists?(dirlibpath), 'DirPackage should be installed'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rip-0.0.4 test/ripfile_test.rb
rip-0.0.5 test/ripfile_test.rb
rip-0.0.3 test/ripfile_test.rb
rip-0.0.2 test/ripfile_test.rb