Sha256: f0167cde876937f339c2b115b6417d4126b6361285a70ce757f9459651e41eaf
Contents?: true
Size: 672 Bytes
Versions: 3
Compression:
Stored size: 672 Bytes
Contents
require 'rubygems' require 'test/unit' require "#{File.dirname(__FILE__)}/../../vendor/bundler_gems/environment" require 'shoulda' begin require 'redgreen' rescue LoadError end require 'active_support' require 'active_support/test_case' require 'fakeweb' require 'rr' FakeWeb.allow_net_connect = false $:.unshift File.expand_path(File.join(File.dirname(__FILE__), "..")) require "rubygems_plugin" class CommandTest < ActiveSupport::TestCase include RR::Adapters::TestUnit unless include?(RR::Adapters::TestUnit) end def stub_config(config) file = Gem::ConfigFile.new({}) config.each { |key, value| file[key] = value } stub(Gem).configuration { file } end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
botanicus-gemcutter-0.2.1 | test/command_helper.rb |
gemcutter-0.2.1 | test/command_helper.rb |
gemcutter-0.2.0 | test/command_helper.rb |