On Tue, Nov 25, 2008 at 2:21 PM, Rick DeNatale [email protected]wrote:
‘undefined method describe’ error.
This has nothing to do with your problem, but I thought it was kind of
funny. I was working on a little non-Rails project myself, and got the
‘undefined method describe’ error with the following code:
require ‘rubygems’
require ‘spec’
describe ‘nothing’ do
it ‘should fail’ do
1.should == 2
end
end
What was especially frustrating was that this code worked perfectly well
in
irb. I got as far as composing a message to post here, when I realized
that
perhaps spec.rb was not the best name for this file.
///ark
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.