[rspec-users] How to dummy a DB adapter?

Bart Zonneveld zuperinfinite at gmail.com
Thu Mar 12 04:28:30 EDT 2009

On 11-mrt-2009, at 19:02, James Byrne wrote:

> I am thinking about simply opening SQLiteAdapter and overriding the
> adapter_name method to some arbitrary value for the test.  However, it
> occurs to me that there are probably better ways to do what I am  
> trying
> to accomplish so I welcome any suggestions on how to proceed.


Stubbing is your newfound friend.


More information about the rspec-users mailing list