Re: [rspec-users] controller spec not loading controller classes

2012-03-14 Thread David Chelimsky
On Wed, Mar 14, 2012 at 3:46 PM, Chris Ochs wrote: > > > On Wednesday, March 14, 2012 1:37:44 PM UTC-7, dchel...@gmail.com wrote: >> >> On Wed, Mar 14, 2012 at 2:32 PM, Chris Ochs wrote: >> > This is jruby 1.6.7, rspec 2, rails 3.0.9. >> > >> > I have a simple controller spec as follows: >> >> Do

Re: [rspec-users] controller spec not loading controller classes

2012-03-14 Thread Chris Ochs
On Wednesday, March 14, 2012 1:37:44 PM UTC-7, dchel...@gmail.com wrote: > > On Wed, Mar 14, 2012 at 2:32 PM, Chris Ochs wrote: > > This is jruby 1.6.7, rspec 2, rails 3.0.9. > > > > I have a simple controller spec as follows: > > Does this file require "spec_helper"? If not, that's probably the

Re: [rspec-users] controller spec not loading controller classes

2012-03-14 Thread David Chelimsky
On Wed, Mar 14, 2012 at 2:32 PM, Chris Ochs wrote: > This is jruby 1.6.7, rspec 2, rails 3.0.9. > > I have a simple controller spec as follows: Does this file require "spec_helper"? If not, that's probably the problem. > describe MoneyController, :type => :controller do >   describe "GET payout"

[rspec-users] controller spec not loading controller classes

2012-03-14 Thread Chris Ochs
This is jruby 1.6.7, rspec 2, rails 3.0.9. I have a simple controller spec as follows: describe MoneyController, :type => :controller do describe "GET payout" do it "Pays out currency to user" do money = double("Cloud::Money") get :payout end end end Running rake spec res