
tetheredge.com
Tethering Code With TetheredgeTethering Code With Tetheredge. Tethering your mocks with Rspec. Rspec is a testing framework for Ruby that is very extensible and flexible at the same time. There are a couple of things that tripped me up when learning Rspec. One of them being, how to mock an object and what type of mock to use. In this section we are going to discuss the use of instance doubles. The definition can be found here. Username, password) end def authenticated? Authenticated end private def authenticated? Module AuthMethod de...
http://www.tetheredge.com/
SOCIAL ENGAGEMENT