Skip to content

Commit

Permalink
Revert "Check for mocha gem without requiring the lib. [#403 state:re…
Browse files Browse the repository at this point in the history
…solved]"

This reverts commit 4d5ac3f.
  • Loading branch information
jeremy committed Jun 23, 2008
1 parent 4d5ac3f commit d7462ea
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -18,9 +18,9 @@ def self.included(base)
alias_method :run, :run_with_callbacks_and_miniunit alias_method :run, :run_with_callbacks_and_miniunit
else else
begin begin
gem 'mocha' require 'mocha'
alias_method :run, :run_with_callbacks_and_mocha alias_method :run, :run_with_callbacks_and_mocha
rescue Gem::LoadError rescue LoadError
alias_method :run, :run_with_callbacks_and_testunit alias_method :run, :run_with_callbacks_and_testunit
end end
end end
Expand Down

0 comments on commit d7462ea

Please sign in to comment.