diff options
author | Jeffrey Hardy <packagethief@gmail.com> | 2008-10-31 02:12:48 -0400 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-10-31 18:45:36 +0100 |
commit | 408c7227575e0c395a45605783cade1ba3b51e02 (patch) | |
tree | c964172d705f592d372cf73e1389818b2bf465d0 /railties | |
parent | c50667e96167efefb0aab4d99f3c04149e87bf6f (diff) | |
download | rails-408c7227575e0c395a45605783cade1ba3b51e02.tar.gz rails-408c7227575e0c395a45605783cade1ba3b51e02.tar.bz2 rails-408c7227575e0c395a45605783cade1ba3b51e02.zip |
Really silence spec warnings when running GemDependency tests [#1308 state:resolved]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/gem_dependency_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/test/gem_dependency_test.rb b/railties/test/gem_dependency_test.rb index 5f026b2616..4f9e824c9f 100644 --- a/railties/test/gem_dependency_test.rb +++ b/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 |