Project

General

Profile

« Previous | Next » 

Revision 11896

Added by Toshi MARUYAMA about 12 years ago

upgrade mocha 0.14 and remove deprecation warning

Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.

View differences:

Gemfile
78 78

  
79 79
group :test do
80 80
  gem "shoulda", "~> 3.3.2"
81
  gem "mocha", "~> 0.13.3"
81
  gem "mocha", ">= 0.14", :require => 'mocha/api'
82 82
  if RUBY_VERSION >= '1.9.3'
83 83
    gem "capybara", "~> 2.1.0"
84 84
    gem "selenium-webdriver"

Also available in: Unified diff