So am fairly new to rspec and am trying to get the hang of it, but
have run into a few issues I cant figure out. Several times in my code
I have model that belongs to a parent, when the model is deleted,
instead of redirecting to the index action, it redirects to the show
action for its parent mode
_project)) }
format.xml { head :ok }
end
end
Any ideas?
On Feb 28, 8:21 am, Craig Demyanovich wrote:
> On Sun, Feb 27, 2011 at 10:57 PM, Charley wrote:
>
> ...
>
> > it "redirects to the bugs list" do
> > Bug.stub(:find) { mock_bug }
> >