Commit
* Change to `require "mocha/setup"` per release notes for 0.13.0: http://gofreerange.com/mocha/docs/file.RELEASE.html
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s| | |
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
s.require_paths = ["lib"] | ||
|
||
s.add_dependency('mocha', '0.12.7') # follow instructions in mock.rb to update | ||
s.add_dependency('mocha', '0.13.0') # follow instructions in mock.rb to update | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
joshuaclayton
Contributor
|
||
|
||
s.add_development_dependency('rake') | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
require 'mocha' | ||
require 'mocha/api' | ||
require 'bourne/api' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
require File.expand_path('../../test_helper', __FILE__) | ||
require 'mocha' | ||
require 'mocha/setup' | ||
|
||
class Widget | ||
|
||
|
Any reason not to specify the dependency using Pessimistic Version Constraint (a.k.a. the
~>
operator)?