Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Really silence spec warnings when running GemDependency tests [#1308

…state:resolved]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information...
commit 408c7227575e0c395a45605783cade1ba3b51e02 1 parent c50667e
Jeffrey Hardy packagethief authored dhh committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 railties/test/gem_dependency_test.rb
5 railties/test/gem_dependency_test.rb
View
@@ -1,12 +1,11 @@
-require 'lib/rails/vendor_gem_source_index'
-Rails::VendorGemSourceIndex.silence_spec_warnings = true
-
require 'plugin_test_helper'
class Rails::GemDependency
public :install_command, :unpack_command
end
+Rails::VendorGemSourceIndex.silence_spec_warnings = true
+
uses_mocha "Plugin Tests" do
class GemDependencyTest < Test::Unit::TestCase
def setup
Please sign in to comment.
Something went wrong with that request. Please try again.