[rspec-users] Rspec, Mocha Expectations Not Met Bug?

2009-12-07 Thread Sam Woodard
Code and tests at, http://gist.github.com/251480 I have debugged this code and both destroy and email! are being called! However, rspec/mocha says that the two expectations at the bottom of these tests are not met: both tests fail. Any help would be greatly appreciated. Thanks you in advance, S

[rspec-users] Fwd: [ANN] Announcing MountainWest RubyConf 2010

2009-12-07 Thread Ben Mabey
FYI, MWRC 2010 is accepting presentation proposals now (see link below). I've been to this conference every year and it has been great each time. If you have anything you would like to present please send in a proposal. :) -Ben Begin forwarded message: From: Mike Moore Date: December 7

Re: [rspec-users] undefined method `route_for

2009-12-07 Thread David Chelimsky
On Mon, Dec 7, 2009 at 5:32 AM, Amit Kulkarni wrote: > Hi David, > I have some query regarding running spec command. > When i tried to run normal testcase by command "spec > test_controller_spec.rb" > then that particular test case runs but the routing testcase fails. > > Now if i run through the

Re: [rspec-users] undefined method `route_for

2009-12-07 Thread Amit Kulkarni
Hi David, I have some query regarding running spec command. When i tried to run normal testcase by command "spec test_controller_spec.rb" then that particular test case runs but the routing testcase fails. Now if i run through the command "spec spec/controllers/test_controller_spec.rb" then all