<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 11, 2007, at 2:37 PM, Geoffrey Wiseman wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">On 9/5/07, <B class="gmail_sendername">David Chelimsky</B> &lt;<A href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</A>&gt; wrote:<DIV><SPAN class="gmail_quote"></SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> irb(main):001:0&gt; require 'rubygems'<BR>=&gt; true<BR>irb(main):002:0&gt; require 'spec'<BR>=&gt; true<BR>irb(main):003:0&gt; include Spec::Matchers<BR>=&gt; Object<BR>irb(main):004:0&gt; 5.should == 5<BR> =&gt; nil<BR>irb(main):005:0&gt; 5.should be &lt; 4<BR>Spec::Expectations::ExpectationNotMetError: expected &lt; 4, got 5<BR></BLOCKQUOTE></DIV><BR>$ script/console<BR>Loading development environment.<BR>&gt;&gt; require 'rubygems' <BR>=&gt; []<BR>&gt;&gt; require 'spec'<BR>NameError: undefined method `failure_message' for class `Spec::Matchers::Have'<BR>        from /work/workspace/ng/vendor/plugins/rspec_on_rails/lib/spec/matchers/have.rb:4:in `alias_method' <BR>        from /work/workspace/ng/vendor/plugins/rspec_on_rails/lib/spec/matchers/have.rb:4<BR>        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'<BR><BR clear="all"></BLOCKQUOTE><BR></DIV>David - I haven't seen a follow up to this post.  Could you guide me on the right direction?<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I see that in irb I can include Spec::Mocks::SpecMethods, which allows me mock 'something'.  How would I get access to mock_model?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Scott</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>