I have started to play with http://pivots.pivotallabs.com/users/brian/blog/articles/352-introducing-rr and I really like its hyper-minimalist but readable syntax ...
For the sake of flexibility, I'd like to use more than 1 mock framework. E.g.: The specs which come with the restful-authentication plugin are using 'RSpec' mock framework and my project is ussing 'rr' I thought I could put at the beginning of each file: Spec::Runner.configure do |config| config.mock_with :rr end or Spec::Runner.configure do |config| config.mock_with :rspec end Running each spec individually works but running them ALL within Autotest or "rake spec" will fail ... I am using Rails 2.1 + RSpec edge. I thought maybe someone has the same needs and found a solution. Otherwise, I'll patch Rspec -- View this message in context: http://www.nabble.com/How-to-use-more-than-ONE-mock-frmk-%28mocha%2C-rr%2C-rspec%29-tp18447770p18447770.html Sent from the rspec-users mailing list archive at Nabble.com. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
