2011-03-19 11 views
0

http://erikonrails.snowedin.net/?p=230rspec - ヘルパーモジュールを追加していますか?私はここに、この例を以下のよ

を私が追加:

lib/delayed_job_spec_helper.rb 

はその後、私のRSpecの中で私が持っている:

describe Thingy do 
    include DelayedJobSpecHelper 

    it "should have been worked on if I do something that queues jobs" do 
    thing = Thingy.new 
    thing.method_that_queues_jobs 
    work_off 
    thing.should be_worked_on 
    end 
end 

問題は、私はエラーを取得する次のとおりです。

/Library/Ruby/Gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing': uninitialized constant DelayedJobSpecHelper (NameError) 

アイデア?ありがとう

答えて

関連する問題