Skip to content

Commit

Permalink
Really silence spec warnings when running GemDependency tests [#1308
Browse files Browse the repository at this point in the history
…state:resolved]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information
packagethief authored and dhh committed Oct 31, 2008
1 parent c50667e commit 408c722
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions railties/test/gem_dependency_test.rb
@@ -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
Expand Down

0 comments on commit 408c722

Please sign in to comment.