Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in ruby-mocha

How to run Node.js and Ruby tests within one project on Travis CI

Is there a way to set the value of $? in a mock in Ruby?

ruby testing ruby-mocha

Is it possible to stub a method in a parent class so that all subclass instances are stubbed in rspec?

using mocha, is there a way to stub with many parameters?

Is there a Mocha equivalent of Rspec’s “mock().as_null_object”?

Getting Rails 3 Generators with Rspec 2 and Mocha

getting the object passed as an argument to a stubbed method with Mocha

Is there a "not_expects" for mocha/rspec?

How to return a dynamic value from a Mocha mock in Ruby

ruby mocking ruby-mocha

Mocha: How to add expectation of a method when there are multiple invocations with different parameters

How do I allow Chrome to use my microphone programmatically?

Mocha Mock Carries To Another Test

Is there a way to undo Mocha stubbing of any_instance in Test::Unit