Sha256: 7be9cd3c63415b5df5af8bc7307b97e326345bda318f96a2660aaaefa0641ee4

Contents?: true

Size: 540 Bytes

Versions: 21

Compression:

Stored size: 540 Bytes

Contents

require "spec_helper"

describe Gem do

  def create_gem()
    gem = subject
    return gem
  end

  def plugin_location
    File.dirname(__FILE__) + '/../../lib/rubygems_plugin.rb'
  end

  def gemrc_location
    File.dirname(__FILE__) + '/../fixtures/gemrc'
  end

  describe "load_env_plugins" do
    it "successfully loads the ssl client cert plugin" do
      gem = create_gem()
      plugins = [ plugin_location ]
      gem.load_plugin_files(plugins)
      Gem::ConfigFile.new( [ "--config-file", gemrc_location ] )
    end
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rubygems_ssl-client-certs-0.0.1.pre.alpha.pre.34 spec/integration/gem_spec.rb