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

Re: [rspec-users] RSpec & JRuby

2012-03-14 Thread Justin Ko
On Mar 14, 2012, at 1:15 AM, Srushti Ambekallu wrote: > We're working on a project with a bunch of padrino services running on JRuby > 1.6.5. Currently, the tests are written Test::Unit, but we want to move to > writing specs. We tried rspec but that seemed to fail, until we looked closer > an

[rspec-users] RSpec & JRuby

2012-03-14 Thread Srushti Ambekallu
We're working on a project with a bunch of padrino services running on JRuby 1.6.5. Currently, the tests are written Test::Unit, but we want to move to writing specs. We tried rspec but that seemed to fail, until we looked closer and found that JRuby 1.6.6 has fixed whatever the issue was. We a