Replace stub! with stub. See David Chelimsky's explanation: http://www.mail-archive.com/rspec-users@rubyforge.org/msg13270.html