Skip to content

Commit

Permalink
Remove a warning to load mocha
Browse files Browse the repository at this point in the history
For this message.

    *** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.
  • Loading branch information
kachick committed Jan 8, 2013
1 parent 68d2aaf commit c70252a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common.rb
@@ -1,7 +1,7 @@
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
gem "test-unit" # http://rubyforge.org/pipermail/test-unit-tracker/2009-July/000075.html
require 'test/unit'
require 'mocha'
require 'mocha/setup'
require 'net/ssh/buffer'
require 'net/ssh/config'
require 'net/ssh/loggable'
Expand Down

0 comments on commit c70252a

Please sign in to comment.