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
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
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"
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