simple_mock icon indicating copy to clipboard operation
simple_mock copied to clipboard

A fast, tiny hybrid mocking library.

Results 3 simple_mock issues
Sort by recently updated
recently updated
newest added

Good day, @tatey ! Consider ``` ruby class Post def valid? nil end def validate valid? end end real_model = Post.new mock_model = SimpleMock.new real_model mock_model.expect :valid?, true mock_model.validate #...

Hi, @tatey! Thanks for [your informative article](http://tatey.com/2012/02/07/mocking-with-minitest-mock-and-simple-delegator/) and this nice gem. I'm a Minitest n00b (been using Test::Unit & a bit o' RSpec) who's used to Mocha. I'm currently trying...