Permalink
Browse files

Stubba is included in Mocha already

  • Loading branch information...
1 parent feb0898 commit 7d5c447d9c4ebebd921a90810ff7547f8e40ea38 @josh josh committed Jul 11, 2008
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionmailer/test/abstract_unit.rb
@@ -32,8 +32,7 @@ def self.start(*args)
# Wrap tests that use Mocha and skip if unavailable.
def uses_mocha(test_name)
- gem 'mocha', ">=0.5"
- require 'stubba'
+ gem 'mocha', ">=0.9.0"
yield
rescue Gem::LoadError
$stderr.puts "Skipping #{test_name} tests (Mocha >= 0.5 is required). `gem install mocha` and try again."

0 comments on commit 7d5c447

Please sign in to comment.