[rspec-users] Mocha and rspec_scaffold

2009-05-07 Thread jevado
Hi All, I'm busy experimenting with RSpec and encountered a small issue with the scaffolding. As soon as I chooce mocha as my mocking framework in the spec helper the specs created with rspec_scaffold fail. Is this a bug or do the rspec_generators only work with the default mocking framework ? I'

[rspec-users] rspec_scaffold and mocha

2009-05-07 Thread jevado
Hi All, I have a question about the rspec_scaffold and if it's compatible with other mocking frameworks. I just created a blank application and a scaffold of a very basic model. The specs run fine untill I choose to use mocha in the spec_helper. Can somebody please tell me if this is ment to be a

[rspec-users] rspec_scaffold and mocha

2009-05-07 Thread jevado
Hi all, Sorry if this get's posted several times but I got a message that my previous post wasn't allowed because I'm not a member. I think I am now though. The problem I have is fairly simple. I have some plugins who use rspec and mocha and I want to make use of the rspec_scaffold generator. Unf

Re: [rspec-users] rspec_scaffold and mocha

2009-05-11 Thread jevado
e the mislav-rspec-rails-mocha plugin. example: module Mocha class Expectation def and_return(*values) returns(*values) end end end On May 11, 3:17 am, Nicholas Van Weerdenburg wrote: > On Thu, May 7, 2009 at 1:21 PM, jevad

Re: [rspec-users] rspec_scaffold and mocha

2009-05-11 Thread jevado
May 11, 3:17 am, Nicholas Van Weerdenburg wrote: > On Thu, May 7, 2009 at 1:21 PM, jevado wrote: > > Hi all, > > > Sorry if this get's posted several times but I got a message that my > > previous post wasn't allowed because I'm not a member. I think I am > >