Not sure if this is a Rails 3 issue or an RSpec 2 issue, but I can't seem to
get a standard controller test working - it seems that the 'get' method
can't be found.
I have a controller test that looks like this (named
"discrepancies_controller_spec.rb" in spec/controllers directory):
require 'spe
Hi all,
I'm having a problem where stubbed static methods aren't properly becoming
"unstubbed". I have tried manually unstubbing them, but it still doesn't
work.
Spec is as follows:
it "creates user accounts for unknown users" do
Notification.stub(:deliver_routed)
User.should_re
On Mon, Jul 5, 2010 at 1:26 PM, David Chelimsky wrote:
> I just pushed what I believe to be a fix for this - please try pointing
> Gemfile to the git repos again. It should work if you do this with all of
> them:
>
> gem "rspec-rails",:git => "git://github.com/rspec/rspec-rails.git"
> gem
>
> I just got a chance to try this, and ran into more problems. Prior to
> trying this, we were running RSpec2 beta 13. When I changed our Gemfile to
> depend on 'edge' RSpec et al (as you suggested above), I get a very strange
> error when I run rake (after doing a 'bundle install'). The same