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.

http://rspec.info/documentation/mocks/stubs.html

Stubbing is your newfound friend.

gr,
bartz

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to