Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
mocha
We are on a mission to develop & maintain a mock object library for Ruby.
Collective -
Host: rubytogether-user -
https://opencollective.com/mocha-deleted
- Code: https://github.com/freerange/mocha
Testing whether a parameter matches a regular expression is a common activity.
github.com/freerange/mocha.methods - c8c4ff6cd1f152d0e87933a7ac0096eb040405d0 authored over 17 years ago
github.com/freerange/mocha.methods - c8c4ff6cd1f152d0e87933a7ac0096eb040405d0 authored over 17 years ago
Testing whether a parameter matches a regular expression is a common activity.
github.com/freerange/mocha - 45d2ba700e03e877ba187f3063c01deee7e3d13d authored over 17 years ago
github.com/freerange/mocha - 45d2ba700e03e877ba187f3063c01deee7e3d13d authored over 17 years ago
Updated release notes and version number ready for release 0.5.3.
github.com/freerange/mocha - bc1013c64e9436709486e4189ee7fea6fd32fb5d authored over 17 years ago
github.com/freerange/mocha - bc1013c64e9436709486e4189ee7fea6fd32fb5d authored over 17 years ago
Updated release notes and version number ready for release 0.5.3.
github.com/freerange/mocha.methods - 20f39f1572a424d9d9fdaa8a44230ad8c36b37a3 authored over 17 years ago
github.com/freerange/mocha.methods - 20f39f1572a424d9d9fdaa8a44230ad8c36b37a3 authored over 17 years ago
Put Google Webmaster meta tag in the right header i.e. the one for the index page.
github.com/freerange/mocha - 70edf6a3576ddf6abbb9d8c5df64cf741651d131 authored over 17 years ago
github.com/freerange/mocha - 70edf6a3576ddf6abbb9d8c5df64cf741651d131 authored over 17 years ago
Put Google Webmaster meta tag in the right header i.e. the one for the index page.
github.com/freerange/mocha.methods - f3e3c63891a985e160dc45266be952aa42862970 authored over 17 years ago
github.com/freerange/mocha.methods - f3e3c63891a985e160dc45266be952aa42862970 authored over 17 years ago
Added Google Webmaster meta tag to rdoc template header.
github.com/freerange/mocha.methods - bf7c872236be8abef0537bc21784be11dac3f37e authored over 17 years ago
github.com/freerange/mocha.methods - bf7c872236be8abef0537bc21784be11dac3f37e authored over 17 years ago
Added Google Webmaster meta tag to rdoc template header.
github.com/freerange/mocha - 512557cddeafb875c2ebf0d285aae80959ef6c7f authored over 17 years ago
github.com/freerange/mocha - 512557cddeafb875c2ebf0d285aae80959ef6c7f authored over 17 years ago
Added instance_of and kind_of parameter matchers.
github.com/freerange/mocha - a60b25db01b2f8af0659a0a65636de2ffb3e357b authored over 17 years ago
github.com/freerange/mocha - a60b25db01b2f8af0659a0a65636de2ffb3e357b authored over 17 years ago
Added instance_of and kind_of parameter matchers.
github.com/freerange/mocha.methods - 74bc46e47988628230d0c242061b8ce2441beb3b authored over 17 years ago
github.com/freerange/mocha.methods - 74bc46e47988628230d0c242061b8ce2441beb3b authored over 17 years ago
Removed unused ExpectationSequenceError exception.
github.com/freerange/mocha - 8f349face3919a148750f6eb526c1c252fa89ca1 authored over 17 years ago
github.com/freerange/mocha - 8f349face3919a148750f6eb526c1c252fa89ca1 authored over 17 years ago
Removed unused ExpectationSequenceError exception.
github.com/freerange/mocha.methods - ed0acbecc4ddc7ef396a726a9dc869bb4ecd4bc8 authored over 17 years ago
github.com/freerange/mocha.methods - ed0acbecc4ddc7ef396a726a9dc869bb4ecd4bc8 authored over 17 years ago
Release 0.5.2. Update release notes.
github.com/freerange/mocha - e3cb50a137fb8bea7c425c67a9da69f9edcfe4de authored over 17 years ago
github.com/freerange/mocha - e3cb50a137fb8bea7c425c67a9da69f9edcfe4de authored over 17 years ago
Release 0.5.2. Update release notes.
github.com/freerange/mocha.methods - 175cbd25d4205f73b1daee9bd737be0b12789cd7 authored over 17 years ago
github.com/freerange/mocha.methods - 175cbd25d4205f73b1daee9bd737be0b12789cd7 authored over 17 years ago
Simplified AutoVerify code and tests.
github.com/freerange/mocha - 9f7fa125016049212ad9fcf9fab4902c73d74b99 authored over 17 years ago
github.com/freerange/mocha - 9f7fa125016049212ad9fcf9fab4902c73d74b99 authored over 17 years ago
Simplified AutoVerify code and tests.
github.com/freerange/mocha.methods - 512d273ba7ab228f7488f3e985e3cf08e9da2510 authored over 17 years ago
github.com/freerange/mocha.methods - 512d273ba7ab228f7488f3e985e3cf08e9da2510 authored over 17 years ago
No need to reference Mock using Mocha namespace.
github.com/freerange/mocha.methods - 9186c092e20e78f4b7f6d4ca8cc303867944a064 authored over 17 years ago
github.com/freerange/mocha.methods - 9186c092e20e78f4b7f6d4ca8cc303867944a064 authored over 17 years ago
No need to reference Mock using Mocha namespace.
github.com/freerange/mocha - ae74457dd0477405f68969eebc17a4ad0a82306c authored over 17 years ago
github.com/freerange/mocha - ae74457dd0477405f68969eebc17a4ad0a82306c authored over 17 years ago
Fix bug 11885 - "never doesn't work with stub_everything" submitted by Alexander Lang. In fixing this bug, also fixed undiscoverd bug where expected & actual invocation counts were being incorrectly reported which seems to have been introduced when fixes were added for invocation dispatch (see MockedMethodDispatchAcceptanceTest).
Previously when an expectation did not allow more invocations, it was treated as not matching. N...
github.com/freerange/mocha - d3583772c3fd878a567a0b04750d98ff7d079358 authored over 17 years ago
Fix bug 11885 - "never doesn't work with stub_everything" submitted by Alexander Lang. In fixing this bug, also fixed undiscoverd bug where expected & actual invocation counts were being incorrectly reported which seems to have been introduced when fixes were added for invocation dispatch (see MockedMethodDispatchAcceptanceTest).
Previously when an expectation did not allow more invocations, it was treated as not matching. N...
github.com/freerange/mocha.methods - 438dbbe9b030f5f5ceaa0a10022e4bcca07b5866 authored over 17 years ago
Removed Exception#last functionality temporarily - it was muddying the waters.
github.com/freerange/mocha.methods - 06a93c7de8644dacb1a34045d559a72a9dc27e9f authored over 17 years ago
github.com/freerange/mocha.methods - 06a93c7de8644dacb1a34045d559a72a9dc27e9f authored over 17 years ago
Removed Exception#last functionality temporarily - it was muddying the waters.
github.com/freerange/mocha - b4e847fb00720601e8caf21774d37df95478284b authored over 17 years ago
github.com/freerange/mocha - b4e847fb00720601e8caf21774d37df95478284b authored over 17 years ago
Refactored Mock expectations into ExpectationList.
github.com/freerange/mocha - 5f656a91c7d9443bb456b24ac0bf17745c99f835 authored over 17 years ago
github.com/freerange/mocha - 5f656a91c7d9443bb456b24ac0bf17745c99f835 authored over 17 years ago
Refactored Mock expectations into ExpectationList.
github.com/freerange/mocha.methods - bc8319a4f0ee00dc959c1113a2d15861b4daf8e6 authored over 17 years ago
github.com/freerange/mocha.methods - bc8319a4f0ee00dc959c1113a2d15861b4daf8e6 authored over 17 years ago
Gave un-named test a name.
github.com/freerange/mocha.methods - cf3e99c527d2b17d8f51fe9d2942916f14dd4fab authored over 17 years ago
github.com/freerange/mocha.methods - cf3e99c527d2b17d8f51fe9d2942916f14dd4fab authored over 17 years ago
Gave un-named test a name.
github.com/freerange/mocha - f7e2aa0377d5788098e20e80962d8f0dfaccf292 authored over 17 years ago
github.com/freerange/mocha - f7e2aa0377d5788098e20e80962d8f0dfaccf292 authored over 17 years ago
Replace tabs with spaces.
github.com/freerange/mocha - d39ad5f5be07683302bdb250cf4c22a9ff63566a authored over 17 years ago
github.com/freerange/mocha - d39ad5f5be07683302bdb250cf4c22a9ff63566a authored over 17 years ago
Replace tabs with spaces.
github.com/freerange/mocha.methods - 1f0bd1d49c0440bee0d4671cae14c917409f1d3d authored over 17 years ago
github.com/freerange/mocha.methods - 1f0bd1d49c0440bee0d4671cae14c917409f1d3d authored over 17 years ago
No need to call super method_missing.
github.com/freerange/mocha.methods - fdb170a0867a20d9268d1d8dee7c2599f041e697 authored over 17 years ago
github.com/freerange/mocha.methods - fdb170a0867a20d9268d1d8dee7c2599f041e697 authored over 17 years ago
No need to call super method_missing.
github.com/freerange/mocha - ac63d31c967984bc08526794b44f5b986ea8e691 authored over 17 years ago
github.com/freerange/mocha - ac63d31c967984bc08526794b44f5b986ea8e691 authored over 17 years ago
Wanted to be able to specify that a particular expectation is the last method call on a mock.
github.com/freerange/mocha - 1ca2addc301edaf74f0378cd09d26b78dfb5d7fb authored over 17 years ago
github.com/freerange/mocha - 1ca2addc301edaf74f0378cd09d26b78dfb5d7fb authored over 17 years ago
Wanted to be able to specify that a particular expectation is the last method call on a mock.
github.com/freerange/mocha.methods - ec810bd80c6511473bea912419c8200e02aba2e8 authored over 17 years ago
github.com/freerange/mocha.methods - ec810bd80c6511473bea912419c8200e02aba2e8 authored over 17 years ago
Updated version to 0.5.1.
github.com/freerange/mocha - 320947b8fe098fac3a08d722114b03d9855f9d69 authored over 17 years ago
github.com/freerange/mocha - 320947b8fe098fac3a08d722114b03d9855f9d69 authored over 17 years ago
Updated version to 0.5.1.
github.com/freerange/mocha.methods - 2e30d50943043bb1dadf6b829525bc9e7e74db5a authored over 17 years ago
github.com/freerange/mocha.methods - 2e30d50943043bb1dadf6b829525bc9e7e74db5a authored over 17 years ago
Fix for [#11583] Mocha 0.5.0 throwing unexpected warnings. Also switched on ruby warning for all rake test tasks. Fixed majority of warnings, but some left to fix.
github.com/freerange/mocha.methods - a6322f89f5858f6a913c88f9c8d6fe1377839c5d authored over 17 years ago
github.com/freerange/mocha.methods - a6322f89f5858f6a913c88f9c8d6fe1377839c5d authored over 17 years ago
Fix for [#11583] Mocha 0.5.0 throwing unexpected warnings. Also switched on ruby warning for all rake test tasks. Fixed majority of warnings, but some left to fix.
github.com/freerange/mocha - db4fb12458141bba3c178776f65c20d15bbd511a authored over 17 years ago
github.com/freerange/mocha - db4fb12458141bba3c178776f65c20d15bbd511a authored over 17 years ago
Added meta_project dependency for publish_packages rake task.
github.com/freerange/mocha - 4b08bc206f1b0d6a7770e3a2c552301525795ee2 authored over 17 years ago
github.com/freerange/mocha - 4b08bc206f1b0d6a7770e3a2c552301525795ee2 authored over 17 years ago
Added meta_project dependency for publish_packages rake task.
github.com/freerange/mocha.methods - 5f2c31398fa9cdb3c60381c0f70313798e50cc51 authored over 17 years ago
github.com/freerange/mocha.methods - 5f2c31398fa9cdb3c60381c0f70313798e50cc51 authored over 17 years ago
Fixed package rake task.
github.com/freerange/mocha.methods - b7b54bf68dd71513f4d7bcebff3a1d896551771e authored over 17 years ago
github.com/freerange/mocha.methods - b7b54bf68dd71513f4d7bcebff3a1d896551771e authored over 17 years ago
Fixed package rake task.
github.com/freerange/mocha - 89a5959db264ae8143030e7461b66b6e1879043e authored over 17 years ago
github.com/freerange/mocha - 89a5959db264ae8143030e7461b66b6e1879043e authored over 17 years ago
Fix load path for coderay.
github.com/freerange/mocha.methods - 140ff20d7972c5809488e81b507aaabf0d3d810b authored over 17 years ago
github.com/freerange/mocha.methods - 140ff20d7972c5809488e81b507aaabf0d3d810b authored over 17 years ago
Fix load path for coderay.
github.com/freerange/mocha - 93144e0c9a56539fcbb1802d9dd0f75a0759ec45 authored over 17 years ago
github.com/freerange/mocha - 93144e0c9a56539fcbb1802d9dd0f75a0759ec45 authored over 17 years ago
Added coderay which was previously installed as a gem on my local machine.
github.com/freerange/mocha.methods - cc73540ba214507cdc99f55cdad7cc8cff308ba3 authored over 17 years ago
github.com/freerange/mocha.methods - cc73540ba214507cdc99f55cdad7cc8cff308ba3 authored over 17 years ago
Added coderay which was previously installed as a gem on my local machine.
github.com/freerange/mocha - a916683c0856151fb6bd3a032ef6929c7efd4164 authored over 17 years ago
github.com/freerange/mocha - a916683c0856151fb6bd3a032ef6929c7efd4164 authored over 17 years ago
Added vendor directory.
github.com/freerange/mocha - 836cb593c0a7f908b7e2a8c3193b24b16327a35d authored over 17 years ago
github.com/freerange/mocha - 836cb593c0a7f908b7e2a8c3193b24b16327a35d authored over 17 years ago
Added vendor directory.
github.com/freerange/mocha.methods - a2ed7a1f171ba97531214c7bb575146cf7446efd authored over 17 years ago
github.com/freerange/mocha.methods - a2ed7a1f171ba97531214c7bb575146cf7446efd authored over 17 years ago
Update version to 0.5.0 in preparation for release.
github.com/freerange/mocha.methods - d3fe1453e794aa4869fb16e507427184ded87032 authored over 17 years ago
github.com/freerange/mocha.methods - d3fe1453e794aa4869fb16e507427184ded87032 authored over 17 years ago
Update version to 0.5.0 in preparation for release.
github.com/freerange/mocha - 139dabb13453350f679f175a5700c207d50ccbb3 authored over 17 years ago
github.com/freerange/mocha - 139dabb13453350f679f175a5700c207d50ccbb3 authored over 17 years ago
Fixed old stubba example.
github.com/freerange/mocha.methods - b1a4eb0e9c6061c51da2841850ea71ff3d23d922 authored over 17 years ago
github.com/freerange/mocha.methods - b1a4eb0e9c6061c51da2841850ea71ff3d23d922 authored over 17 years ago
Fixed old stubba example.
github.com/freerange/mocha - 98cbde3c4ef9c100a73ce4caefd2f8b8630a5875 authored over 17 years ago
github.com/freerange/mocha - 98cbde3c4ef9c100a73ce4caefd2f8b8630a5875 authored over 17 years ago
Added RDoc template which had only been on my local machine.
github.com/freerange/mocha - 9cd0e8d417b21a8040720e6ae11acfe41281cbc9 authored over 17 years ago
github.com/freerange/mocha - 9cd0e8d417b21a8040720e6ae11acfe41281cbc9 authored over 17 years ago
Added RDoc template which had only been on my local machine.
github.com/freerange/mocha.methods - 3dbf471ed80123a047689d3ebb004dfabab78d9c authored over 17 years ago
github.com/freerange/mocha.methods - 3dbf471ed80123a047689d3ebb004dfabab78d9c authored over 17 years ago
Deprecate passing an instance of Proc to Expectation#returns.
github.com/freerange/mocha.methods - d07acb7dc2882d58753ee5793654712b98cada1d authored over 17 years ago
github.com/freerange/mocha.methods - d07acb7dc2882d58753ee5793654712b98cada1d authored over 17 years ago
Deprecate passing an instance of Proc to Expectation#returns.
github.com/freerange/mocha - d057c7c90e60b1e2ade4f124e14be425a0989e98 authored over 17 years ago
github.com/freerange/mocha - d057c7c90e60b1e2ade4f124e14be425a0989e98 authored over 17 years ago
Fix so that it is possible for a stubbed method to raise an Interrupt exception without a message in Ruby 1.8.6
github.com/freerange/mocha - 37ab50a707e20ad24fe407cbef3395d287d58030 authored over 17 years ago
github.com/freerange/mocha - 37ab50a707e20ad24fe407cbef3395d287d58030 authored over 17 years ago
Fix so that it is possible for a stubbed method to raise an Interrupt exception without a message in Ruby 1.8.6
github.com/freerange/mocha.methods - e6fcfb3cb3464a4f5dd4e6dce959a7947ee41fd7 authored over 17 years ago
github.com/freerange/mocha.methods - e6fcfb3cb3464a4f5dd4e6dce959a7947ee41fd7 authored over 17 years ago
Added responds_like and quacks_like.
github.com/freerange/mocha - 440fb75bba12f0afa8a0995d01f336e27b54036e authored over 17 years ago
github.com/freerange/mocha - 440fb75bba12f0afa8a0995d01f336e27b54036e authored over 17 years ago
Added responds_like and quacks_like.
github.com/freerange/mocha.methods - ef1388c5c2005519810623c9b28f0fb8f5be64c0 authored over 17 years ago
github.com/freerange/mocha.methods - ef1388c5c2005519810623c9b28f0fb8f5be64c0 authored over 17 years ago
Removed unused InvalidExpectation.
github.com/freerange/mocha - 8ebbbac84c7d278a91f3dd685aa94d2e880b633d authored over 17 years ago
github.com/freerange/mocha - 8ebbbac84c7d278a91f3dd685aa94d2e880b633d authored over 17 years ago
Removed unused InvalidExpectation.
github.com/freerange/mocha.methods - 858a0b76089c676950bf7fc4b174886dd756d552 authored over 17 years ago
github.com/freerange/mocha.methods - 858a0b76089c676950bf7fc4b174886dd756d552 authored over 17 years ago
Added rdoc for any_of and all_of parameters matchers.
github.com/freerange/mocha - ce37d7d884ea010884078a43acba2ab0b029cd90 authored over 17 years ago
github.com/freerange/mocha - ce37d7d884ea010884078a43acba2ab0b029cd90 authored over 17 years ago
Added rdoc for any_of and all_of parameters matchers.
github.com/freerange/mocha.methods - 328e040abc07969e3ea0793e85427326527da5dc authored over 17 years ago
github.com/freerange/mocha.methods - 328e040abc07969e3ea0793e85427326527da5dc authored over 17 years ago
Added any_of and all_of parameter matchers.
github.com/freerange/mocha - c58b1dcf9b0d48572a674e8e675bd5b4bb66a2da authored over 17 years ago
github.com/freerange/mocha - c58b1dcf9b0d48572a674e8e675bd5b4bb66a2da authored over 17 years ago
Added any_of and all_of parameter matchers.
github.com/freerange/mocha.methods - 32cfe6a3f7a03825d15aa72d529bc966087e1c29 authored over 17 years ago
github.com/freerange/mocha.methods - 32cfe6a3f7a03825d15aa72d529bc966087e1c29 authored over 17 years ago
Formatting and rdoc changes.
github.com/freerange/mocha - 8742e7d226fcccab14eb26c7f0a7e823125b4f2b authored over 17 years ago
github.com/freerange/mocha - 8742e7d226fcccab14eb26c7f0a7e823125b4f2b authored over 17 years ago
Formatting and rdoc changes.
github.com/freerange/mocha.methods - 8642557a2910630465c0291667ff9501714345b7 authored over 17 years ago
github.com/freerange/mocha.methods - 8642557a2910630465c0291667ff9501714345b7 authored over 17 years ago
Added 'includes' parameter matcher; matches based on response to :include?.
github.com/freerange/mocha - f4a5dfc362e134b4b7183c7a51f8adb2325bad58 authored over 17 years ago
github.com/freerange/mocha - f4a5dfc362e134b4b7183c7a51f8adb2325bad58 authored over 17 years ago
Added 'includes' parameter matcher; matches based on response to :include?.
github.com/freerange/mocha.methods - d472cf152adec3162fc811b5de2c6cfdf67bf257 authored over 17 years ago
github.com/freerange/mocha.methods - d472cf152adec3162fc811b5de2c6cfdf67bf257 authored over 17 years ago
Added rdoc to 'anything'.
github.com/freerange/mocha.methods - c528f161e0a784df21b6ebd5ff097d12a79a38ab authored over 17 years ago
github.com/freerange/mocha.methods - c528f161e0a784df21b6ebd5ff097d12a79a38ab authored over 17 years ago
Added rdoc to 'anything'.
github.com/freerange/mocha - 56a1fb142c0d6ac45b90b727bc4b1b5bac7d4953 authored over 17 years ago
github.com/freerange/mocha - 56a1fb142c0d6ac45b90b727bc4b1b5bac7d4953 authored over 17 years ago
Added 'anything' parameter matcher.
github.com/freerange/mocha - f8adb9874799c6b13a587c94340796e6c33be5cd authored over 17 years ago
github.com/freerange/mocha - f8adb9874799c6b13a587c94340796e6c33be5cd authored over 17 years ago
Added 'anything' parameter matcher.
github.com/freerange/mocha.methods - 7d8a3557d2767db98f63aec1326890cd247ed58d authored over 17 years ago
github.com/freerange/mocha.methods - 7d8a3557d2767db98f63aec1326890cd247ed58d authored over 17 years ago
Use mocha_inspect for Mock#inspect.
github.com/freerange/mocha.methods - ef1794d9f915a27056b028d9e373925f82d2ad46 authored over 17 years ago
github.com/freerange/mocha.methods - ef1794d9f915a27056b028d9e373925f82d2ad46 authored over 17 years ago
Use mocha_inspect for Mock#inspect.
github.com/freerange/mocha - a412da02655c214a0c5d6cb1fae44bc7a1ab1536 authored over 17 years ago
github.com/freerange/mocha - a412da02655c214a0c5d6cb1fae44bc7a1ab1536 authored over 17 years ago
Added a few Hamcrest-style parameter matchers to be used within Expectation#with. Hopefully this will mean we can get rid of the nasty ¶meter_block for Expectation#with. Updated rdoc. Updated rakefile to pick up new test directory and new rdoc files.
github.com/freerange/mocha.methods - 032fe764beaef8e0935155b03fa3c24cb60d5294 authored almost 18 years ago
github.com/freerange/mocha.methods - 032fe764beaef8e0935155b03fa3c24cb60d5294 authored almost 18 years ago
Added a few Hamcrest-style parameter matchers to be used within Expectation#with. Hopefully this will mean we can get rid of the nasty ¶meter_block for Expectation#with. Updated rdoc. Updated rakefile to pick up new test directory and new rdoc files.
github.com/freerange/mocha - 4e67ab77be4c7bd1496ff89b45d07cc02d5cdf34 authored almost 18 years ago
github.com/freerange/mocha - 4e67ab77be4c7bd1496ff89b45d07cc02d5cdf34 authored almost 18 years ago
Tweaked rdoc for Expectation#never.
github.com/freerange/mocha.methods - f42f09e22a46185770f0de8f27481ca35bac91dc authored almost 18 years ago
github.com/freerange/mocha.methods - f42f09e22a46185770f0de8f27481ca35bac91dc authored almost 18 years ago
Tweaked rdoc for Expectation#never.
github.com/freerange/mocha - 487674844c0e79476d79ce0dce3f7e84adb1ba5c authored almost 18 years ago
github.com/freerange/mocha - 487674844c0e79476d79ce0dce3f7e84adb1ba5c authored almost 18 years ago
Added bug to todo list.
github.com/freerange/mocha - b8ad316ed3494b412b71715ad9e79b4d5bedcfa2 authored almost 18 years ago
github.com/freerange/mocha - b8ad316ed3494b412b71715ad9e79b4d5bedcfa2 authored almost 18 years ago
Added bug to todo list.
github.com/freerange/mocha.methods - 52fa4c90a2f3cc3413f222b9623107be636fd76a authored almost 18 years ago
github.com/freerange/mocha.methods - 52fa4c90a2f3cc3413f222b9623107be636fd76a authored almost 18 years ago
Renamed YieldParameter related classes.
github.com/freerange/mocha - 40a48e64fe1da365fa8370eb51ff9648d78d0f24 authored almost 18 years ago
github.com/freerange/mocha - 40a48e64fe1da365fa8370eb51ff9648d78d0f24 authored almost 18 years ago
Renamed YieldParameter related classes.
github.com/freerange/mocha.methods - 1b4ec9a48f44a7e2bd2776e21ba2d676a0ec0583 authored almost 18 years ago
github.com/freerange/mocha.methods - 1b4ec9a48f44a7e2bd2776e21ba2d676a0ec0583 authored almost 18 years ago
Added Expectation#multiple_yields to allow a mocked or stubbed method to yield multiple times for a single invocation.
github.com/freerange/mocha.methods - 5dae79f2fdb54cc442ba27446f879a6c11799b90 authored almost 18 years ago
github.com/freerange/mocha.methods - 5dae79f2fdb54cc442ba27446f879a6c11799b90 authored almost 18 years ago
Added Expectation#multiple_yields to allow a mocked or stubbed method to yield multiple times for a single invocation.
github.com/freerange/mocha - 0119a6f08d1d0cb5cd92ed3e96c7d3d21d1ba727 authored almost 18 years ago
github.com/freerange/mocha - 0119a6f08d1d0cb5cd92ed3e96c7d3d21d1ba727 authored almost 18 years ago
Use implicit reference to class instead of explicit reference.
github.com/freerange/mocha - afe7146b1bf74c0d55df0c71b6c0ef661d9f8217 authored almost 18 years ago
github.com/freerange/mocha - afe7146b1bf74c0d55df0c71b6c0ef661d9f8217 authored almost 18 years ago
Use implicit reference to class instead of explicit reference.
github.com/freerange/mocha.methods - 600a69f777f28e0d3738fc426e9bd31c76c63936 authored almost 18 years ago
github.com/freerange/mocha.methods - 600a69f777f28e0d3738fc426e9bd31c76c63936 authored almost 18 years ago
Allow multiple calls to yields on single expectation to allow yield parameters to be specified for consecutive invocations e.g. mock.stubs(:method).yields(1, 2, 3).then.yields(4, 5). Updated rdoc accordingly. Extracted logic into YieldParameters class.
github.com/freerange/mocha - a5543b0a5eb9ace473aad8709bba7d19069454db authored almost 18 years ago
github.com/freerange/mocha - a5543b0a5eb9ace473aad8709bba7d19069454db authored almost 18 years ago
Allow multiple calls to yields on single expectation to allow yield parameters to be specified for consecutive invocations e.g. mock.stubs(:method).yields(1, 2, 3).then.yields(4, 5). Updated rdoc accordingly. Extracted logic into YieldParameters class.
github.com/freerange/mocha.methods - b0ec5ea01faf8e69d22619b620e1e89a726d2365 authored almost 18 years ago
github.com/freerange/mocha.methods - b0ec5ea01faf8e69d22619b620e1e89a726d2365 authored almost 18 years ago
Use implicit reference to class instead of explicit reference to improve maintainability.
github.com/freerange/mocha.methods - 0598f8d6f61244bdfc47abbd1c69cc751271b466 authored almost 18 years ago
github.com/freerange/mocha.methods - 0598f8d6f61244bdfc47abbd1c69cc751271b466 authored almost 18 years ago
Use implicit reference to class instead of explicit reference to improve maintainability.
github.com/freerange/mocha - 405a391b6c6f48e7abcbbae6bfd23e0c50756102 authored almost 18 years ago
github.com/freerange/mocha - 405a391b6c6f48e7abcbbae6bfd23e0c50756102 authored almost 18 years ago
Deleted line rendered unnecessary by previous commit.
github.com/freerange/mocha - f4abeecdcd5d2a405e419cb09d2c61bc8937ad5f authored almost 18 years ago
github.com/freerange/mocha - f4abeecdcd5d2a405e419cb09d2c61bc8937ad5f authored almost 18 years ago
Deleted line rendered unnecessary by previous commit.
github.com/freerange/mocha.methods - 5bc7788504acb7de6f7b6990986db77629a2a396 authored almost 18 years ago
github.com/freerange/mocha.methods - 5bc7788504acb7de6f7b6990986db77629a2a396 authored almost 18 years ago
Simplified instance variables for parameters to be yielded.
github.com/freerange/mocha - cda72be517453a6e235ce957bca9cf0dc2d90232 authored almost 18 years ago
github.com/freerange/mocha - cda72be517453a6e235ce957bca9cf0dc2d90232 authored almost 18 years ago
Simplified instance variables for parameters to be yielded.
github.com/freerange/mocha.methods - 12dea536e93b5ed9dc89ae6fdad375e955575e0a authored almost 18 years ago
github.com/freerange/mocha.methods - 12dea536e93b5ed9dc89ae6fdad375e955575e0a authored almost 18 years ago
Updated rdoc on Expectation to reflect recent changes.
github.com/freerange/mocha.methods - 02e84d9de8e64bf589ef1aa7581aa06d6c5fa708 authored almost 18 years ago
github.com/freerange/mocha.methods - 02e84d9de8e64bf589ef1aa7581aa06d6c5fa708 authored almost 18 years ago
Updated rdoc on Expectation to reflect recent changes.
github.com/freerange/mocha - ca8181e45ed8a93df83904911add473e49384447 authored almost 18 years ago
github.com/freerange/mocha - ca8181e45ed8a93df83904911add473e49384447 authored almost 18 years ago
Refactored return value generation into new ReturnValues, SingleReturnValue and ExceptionRaiser classes. Allow multiple calls to Expectation#returns and Expectation#raises to build up sequence of responses to invocations on the mock. Extracted aliasing of Object#is_a? into a separate file so it could be required from two places. Added syntactic sugar method Expectation#then to allow more readable expectations e.g. mock.stubs(:method).returns(1, 2).then.raises(Exception).then.returns(4).
github.com/freerange/mocha.methods - dd5454114be24eeb15d017d4777305feec197860 authored almost 18 years ago
github.com/freerange/mocha.methods - dd5454114be24eeb15d017d4777305feec197860 authored almost 18 years ago
Refactored return value generation into new ReturnValues, SingleReturnValue and ExceptionRaiser classes. Allow multiple calls to Expectation#returns and Expectation#raises to build up sequence of responses to invocations on the mock. Extracted aliasing of Object#is_a? into a separate file so it could be required from two places. Added syntactic sugar method Expectation#then to allow more readable expectations e.g. mock.stubs(:method).returns(1, 2).then.raises(Exception).then.returns(4).
github.com/freerange/mocha - bee7cd6cfcf6289b81cb8da549fa39045ce3ca22 authored almost 18 years ago
github.com/freerange/mocha - bee7cd6cfcf6289b81cb8da549fa39045ce3ca22 authored almost 18 years ago
Updated todo list to reflect recent changes.
github.com/freerange/mocha.methods - ce330348cfee5e08a430ad80d570c0051f90e587 authored almost 18 years ago
github.com/freerange/mocha.methods - ce330348cfee5e08a430ad80d570c0051f90e587 authored almost 18 years ago
Updated todo list to reflect recent changes.
github.com/freerange/mocha - 9bf7931a28165f9e76396720565978e5fd9653e8 authored almost 18 years ago
github.com/freerange/mocha - 9bf7931a28165f9e76396720565978e5fd9653e8 authored almost 18 years ago