Sha256: c7276b2e245452c640ae0b920997904d7c984130f9da45e2d4b4662bb940e7fb
Contents?: true
Size: 661 Bytes
Versions: 4
Compression:
Stored size: 661 Bytes
Contents
require "#{File.dirname(__FILE__)}/../test_helper.rb" require TESTS_DIR/"../util/gem_manager.rb" # helpers describe GemManager do it "should install a gem via file" do path = TESTS_DIR/"data/hello/pkg/hello-0.2.0.gem" result, name, version = GemManager.install_file(path) result.should be_instance_of(String) name.should == "hello" version.should == "0.2.0" GemManager.installed?("hello", "0.2.0").should be_true end it "should install a gem via network" do pending end it "should uninstall a gem" do GemManager.uninstall("hello", "0.2.0") GemManager.installed?("hello", "0.2.0").should be_false end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-station-0.1.3 | tests/spec/gem_manager.rb |
ruby-station-0.1.2 | tests/spec/gem_manager.rb |
ruby-station-0.1.1 | tests/spec/gem_manager.rb |
ruby-station-0.1.0 | tests/spec/gem_manager.rb |