Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/freerange/mocha.methods
https://github.com/freerange/mocha.methods
Fixes #189.
[ci skip]
d8f9110206f9172d6d98c84f876d058a199ebbb2 authored almost 11 years ago3ec1fb59e7d1c4464e8fa9158353aaa26e7bcec2 authored almost 11 years ago
d2dc82238e28bec61d65dd4073826a4e5544f049 authored about 11 years ago
[ci skip]
61e6801503d6e2e5c2df53aa588c54abe5a2038f authored about 11 years ago[ci skip]
c7de5b94dbab95548b58be11d5a264616cd25972 authored about 11 years ago[ci skip]
0ecb7102b8c41ed6499e86f5e30a0a7fc072792b authored about 11 years agoGroup internal & external changes.
[ci skip]
96c7ae7640d88d834df9959f1bf696c34210c48f authored about 11 years agoc9abf352918801d14dd92587f5723155b902b673 authored about 11 years ago
In order to obtain the fix to rubygems/rubygems#763, we need at least RubyGems v2.2.1. However t...
489b07375ff77346debd14f7b388421c7eca9189 authored about 11 years agoNow that rubygems/rubygems#763 has been fixed, we should be able to do without the `before_insta...
5fc34a5e15ef0eb8ddc66b261015022e99c6adc7 authored about 11 years agoCloses #180.
[ci skip]
929403e46ad25e65d282a9f49668509d2fe91058 authored about 11 years ago[ci skip]
fa8e77634699dff2c8f3547ce3d983f82b8366a1 authored about 11 years agoa7e69975ab77646aa4cea5b0a41d8c220d53e73d authored about 11 years ago
Note: This may break existing tests which rely on the old behaviour!
Stubbing a superclass meth...
466ee93e59090308c86d107f196cf3a7ecdb3f71 authored about 11 years ago
When an unexpected invocation occurs, we try to construct a detailed message
for the exception. ...
So no need to require 'mocha/version' in both files.
Note that 'mocha' is likely to have been a...
50456100ef730b7b2d9a304ccb3a7ed8354ae5d0 authored about 11 years agoNow you can use:
require 'mocha/test_unit'
OR
require 'mocha/mini_test'
Instead of:
...
`test/test_helper.rb` already loads MiniTest or Test::Unit, so no need to do
it again here.
Als...
95dc5c552ca359982593b300fb119c7c34feffa0 authored about 11 years agoThis reverts commit 1346c5b9f711db7e21dbe37a854d6d5c0067f3d0.
I came up with a workaround for t...
ed6a5e75c1fada3204188d48a86918ceee7fe34c authored about 11 years agoThis reverts commit 53c7cf91e0d6339fd8ed6a63412c0a9b7641aac8.
I came up with a workaround for t...
fea7feae5324bfbbe708b8ad28ed6a45d7607f84 authored about 11 years agoThis reverts commit c8bc6d20ddc0e894175632615a131b9d5077ec50.
I came up with a workaround for t...
8e4f3924b16fd277653a49ffd039abfe06bd8272 authored about 11 years agoc1ee7bfc0c533bf51672b16a42183ce792ec5b8e authored about 11 years ago
716f1e16148c4303f0c2bf492575ebb1ad5834c4 authored about 11 years ago
See the following for details:
- https://github.com/travis-ci/travis-ci/issues/1793
- https://g...
As suggested by @roidrage in [1].
[1] https://github.com/travis-ci/travis-ci/issues/1793#issuec...
462b257271b4e2a74554e40eaee41c60c999d32d authored about 11 years agoThis reverts commit 9fd4100d491af6188bd9852cb6d653450a60f0ea.
Reverting ac6a8422b021810e7899abf...
8702b0b47d2b92e7cba540c6c8861fd2eaa2a2cc authored about 11 years agoThis reverts commit ac6a8422b021810e7899abf9910fa1a51f13a420.
All Travis CI builds after this c...
6b2bd2fb7d929a3a776ad55dfd7ff20b36826f9d authored about 11 years ago61f68dee7eb6fc1763ca17324323e9bb35405854 authored about 11 years ago
ea461510bb96b1b3b79b8b5955ede850433bcbed authored about 11 years ago
3fcc2eff05f073335bf05c918811cbdfdb6fedf5 authored about 11 years ago
To make it consistent with the MiniTest detection code.
9fd626d0c98ad8711008d7454d7505202cf82992 authored about 11 years agoThis only came to light after the fix in [1].
[1] 7fc0145bcdc6e96d261abd787968940cf7f8d068
2b4eb2425880c3f40c1394026f330921b82db66e authored about 11 years agoe1cd489bae34b7503d27afec67f446e1f2d8810b authored about 11 years ago
Prior to this, I don't think we were really testing the Mocha integration with
Test::Unit much, ...
I was seeing a problem where `MOCHA_RUN_INTEGRATION_TESTS` was being set in one
build but not se...
In integration tests.
1b0a1700022b97ab9063ea2dd4b28906e1398766 authored about 11 years ago8185ffd60168b2e31bdca194ea572899bc3f0be8 authored about 11 years ago
1de9d034137d729210da99a8fc357a8894a6f099 authored about 11 years ago
b586584b683bc1839845a21436ec084092a33970 authored about 11 years ago
821ddf19f734203d55f34cab97779d6cdf59196c authored about 11 years ago
29fbbdffcdbb483c7b0b0b727d0f656430b91d60 authored about 11 years ago
I want to use this logic elsewhere.
9e4db9d1663bd07d45b778602702433fcb2cf2f0 authored about 11 years agoI broke the build, because these were missing.
6014f53cf27744a518f896d031392af073697248 authored about 11 years agoaa9bfcdc13219657c7fab6681143c309f62d16f3 authored about 11 years ago
Also make them a bit more rigorous.
Similar logic is used elsewhere and I plan to move these me...
0d61d13d2a20f49c2da3d2f0e56e1790f50670b4 authored about 11 years agoIt looks like I got in a muddle with the levels of indentation.
With this change `.activate` wi...
32b30643b96f559663c14ac403e80b65c2f8762b authored about 11 years ago
A `LoadError` is unlikely/impossible, because there is no `require` statement
within the block. ...
f9ffe726af761be7e8d8508251ac02fa0ab20ea0 authored about 11 years ago
7e4a177ae3676723132147590b81181414a53f40 authored about 11 years ago
Since the automatic test library integration functionality requires the test
library to be loade...
09de49f72d854d8d2956239e8b5c8759c8556255 authored about 11 years ago
Heavily based on the relevant jMock v1 documentation [1].
Fixes #172.
[1] http://jmock.org/jmo...
cd4305c7e67ce2e15ecfb3563afa9c32705e6388 authored about 11 years agoThis sets the line number as the line number of the `def` statement.
68f9f0f5966db0220b62efb38d52899cf2b83a66 authored about 11 years agoa6731d75866a416ea5fd98ab75df5e1758b48cdc authored over 11 years ago
Allows nesting of `responds_with` parameter matcher.
4ad80cf5a400d2924b46321e6bfb92ae2529f322 authored over 11 years agoddee7d6d8827f7de1f4c7fa60e1353be1273860a authored over 11 years ago
The test helper defines a class `TestCase` within the `Mocha` module. When
running the tests ins...
f5a2de94152968b82453d9315b73e0fbf9017330 authored over 11 years ago
3019fe9f7ec1ffcd35adf8e6ce8c46bb66991700 authored over 11 years ago
This will probably break some existing tests that were somehow relying
on the stubbed method bei...
I'm using the rbenv-aliases plugin to alias minor versions to the
relevant patch version.
Also use `.travis.yml` to decide what combinations to run. This means we
can now simulate the Tr...
6c9e51987d244da1e334e85c1e16f901ad41af12 authored over 11 years ago
These changes leave the code in a bit of a mess, but since it's only
*test* code, I'm happy to c...
It is no longer possible to use `Test::Unit::TestCase` in the presence
of MiniTest v5. By introd...
I prefer to use a ternary operator and parentheses in this case.
4eec77ecf3dc7e0613d8ad1095120d3bce2463d7 authored over 11 years ago25f668de755af144ecabc69c1a596ff8246a2375 authored almost 12 years ago
This reverts commit fdd64db1ae49a8d295ed837c961502983f49aae4.
8fb2d7d66804744a8e3c8fbb8abed4721272cebd authored almost 12 years ago7e0bc8af5f04573b4b7538aac7c721752537fdb1 authored almost 12 years ago
Added Minitest v5 support.
f0e81beee9c71358a665c3becca83164cd0aa514 authored almost 12 years ago01e0d3a4161048b8255f927db6eb80d5fdb58ff1 authored almost 12 years ago
50cc169ce6b8889a46628957518f481a6b20287f authored almost 12 years ago
This documentation caused some confusion in e.g. #147.
2a25d226d6fe2620c0772be3e0aa806dc4a289d3 authored almost 12 years agoabe510f2c911a818177a6355fe1d55457928fce7 authored almost 12 years ago
This reverts commit b41254ac391ce2274b89297b6bbb89b179a7df45.
As pointed out by @ccutrer this s...
ea918a279113fa28e952fe06068976d00d6ff886 authored almost 12 years ago
This latest release of Rails incorporates the pull request which avoids
a Mocha deprecation warn...
Note: This may break existing tests which rely on the old behaviour!
Stubbing a superclass meth...
5330aa393733f7f637316d115b59bf9ac3dabb64 authored almost 12 years agodbd2c6a05d951838a04291cb7d2bf514b10e0b37 authored almost 12 years ago
It's unlikely but possible that an exception may be raised in
`Mockery#teardown`. We should ensu...
Simplify the `Mockery` "API" that is used by the `Hooks` module i.e.
there is no real need for `...
The Mocha integration tests are unfortunately dependent on the
exact format of the test results ...
This change is specifically to cope with the nasty re-defining of
classes that is done by the `m...
Use `require` instead of `load` with `test/unit/version`.
Other gems also require `test/unit/...
42ed2d5a14ebb5d7e4d9f2ab47efdd9c0da098a3 authored almost 12 years ago
It is possible for `Module#public`, `#protected` and `#private` to be
redefined on descendant cl...
7dbbf666b5637e8cc7ddfc1fbe7656ac8599faae authored almost 12 years ago
Other gems also require test/unit/version. When this gem loads the
same file it over writes th...
I was seeing the following warning message:
The source :rubygems is deprecated because HTTP...
8f57bed7550fc71c46612adc4c4ecbd6d7f5e6b4 authored almost 12 years agoThis is to avoid spurious git diffs.
6df20f79fe85ef9afd3e908fe058b6b59de19296 authored almost 12 years ago8716b0641c993f8276bccce95169606b94da0dff authored almost 12 years ago
We were only testing stubbing of the public and protected methods on
Object.
Note that `#method...
62b8485e18f6a3a8271d1600011db4ea2935ec78 authored almost 12 years agoI prefer unabbreviated variable names.
f5b8739c595f505f852e0183f5b65a48d504282b authored about 12 years ago45851ee1711e8c643a845188428b290d73f9d455 authored about 12 years ago
7605abe1e998da58ca930311dbb635ab1e7d6c20 authored about 12 years ago
2572008775deff295030b7a2c3da6dcd14d9c8d4 authored about 12 years ago
20a280b1e0c0b9e7e3277dc0d1a04f7194ee3b90 authored about 12 years ago
8a63bf1f583ce31ed725551ba7be2ec633a9aad7 authored about 12 years ago
164f26cc9916034b7395637bdc783a88dea10033 authored about 12 years ago
See http://badge.fury.io/
e34ace3c54d4a7c16c9d68da8f31a1749b277f1f authored about 12 years ago
Customising YARD templates is a bit obscure and this was the best I
could come up with. The java...
58dbcfe6a4544e1d0b5aa8c417499c7a33fb62dc authored about 12 years ago