Sha256: a87a0c280c9f18759505aed6a244d905c1bad6e9be1873b46709a9639533d93a
Contents?: true
Size: 834 Bytes
Versions: 1
Compression:
Stored size: 834 Bytes
Contents
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__)) require 'test_helper' context 'Installing from a remote git repo' do setup_with_fs do @source = fresh_remote_git('simple_c') end teardown do Rip::GitPackage.unmock_git end test "installs the lib files" do Rip::Commands.install({}, @source) libpath = Rip.dir + '/active/lib/simple_c.rb' assert File.exists?(libpath), 'simple_c.rb should be installed' end end context 'Installing from a local git repo' do setup_with_fs do @sources = fresh_local_git('simple_c') end teardown do Rip::GitPackage.unmock_git end test 'local installs the lib files' do Rip::Commands.install({}, @sources) libpath = Rip.dir + '/active/lib/simple_c.rb' assert File.exists?(libpath), 'simple_c.rb should be installed' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rip-0.0.1 | test/git_test.rb |