Forum: RSpec Rspec fails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9cfde8cbd74e3fb79d41cba817f5d7b8?d=identicon&s=25 Melvin Ram (melvinram)
on 2009-02-10 20:50
(Received via mailing list)
>From this code http://pastie.org/372777 I'm getting these errors
http://pastie.org/372702 and it's not making any sense... and it's got
me a little stuck.

Some help pls?
5d38ab152e1e3e219512a9859fcd93af?d=identicon&s=25 David Chelimsky (Guest)
on 2009-02-10 20:55
(Received via mailing list)
On Tue, Jan 27, 2009 at 8:04 PM, melvin ram
<melvin@volcanicmarketing.com> wrote:
> >From this code http://pastie.org/372777 I'm getting these errors
> http://pastie.org/372702 and it's not making any sense... and it's got
> me a little stuck.
>
> Some help pls?

To start with, the code uses rspec's mock syntax, but the errors are
coming from mocha, so it looks like you've got both frameworks
intermingling. Which one are you trying to use? You can only use one
since both invade Object.
This topic is locked and can not be replied to.