Re: [rspec-users] Help with some basics

2009-05-01 Thread Andrew Timberlake
On Fri, May 1, 2009 at 6:57 PM, Samuel Soares flores wrote: > >> >> Managed to find the problem, the class ProductTemplate wasn't being >> loaded so "it" wasn't working on an object. >> The error is not very useful in this situation but I'm moving forward >> again. >> > > How did you solved it? I'

Re: [rspec-users] Help with some basics

2009-05-01 Thread Samuel Soares flores
> > Managed to find the problem, the class ProductTemplate wasn't being > loaded so "it" wasn't working on an object. > The error is not very useful in this situation but I'm moving forward > again. > How did you solved it? I'm having the same problem. -- Posted via http://www.ruby-forum.com/

Re: [rspec-users] Help with some basics

2009-04-30 Thread Andrew Timberlake
On Thu, Apr 30, 2009 at 10:04 PM, David Chelimsky wrote: > On Thu, Apr 30, 2009 at 2:55 PM, Andrew Timberlake > wrote: >> It gives me the same error when I run >> rake spec >> spec specs/ >> or >> autospec >> >> It also gives the same error with specs like >> it { should_not be_nil } >> and >> it

Re: [rspec-users] Help with some basics

2009-04-30 Thread David Chelimsky
On Thu, Apr 30, 2009 at 2:55 PM, Andrew Timberlake wrote: > It gives me the same error when I run > rake spec > spec specs/ > or > autospec > > It also gives the same error with specs like > it { should_not be_nil } > and > it { should respond_to(:name) } Those are internal to rspec and I can ass

Re: [rspec-users] Help with some basics

2009-04-30 Thread Andrew Timberlake
It gives me the same error when I run rake spec spec specs/ or autospec It also gives the same error with specs like it { should_not be_nil } and it { should respond_to(:name) } On Thursday, April 30, 2009, David Chelimsky wrote: > On Thu, Apr 30, 2009 at 9:44 AM, Andrew Timberlake > wrote: >>

Re: [rspec-users] Help with some basics

2009-04-30 Thread David Chelimsky
On Thu, Apr 30, 2009 at 9:44 AM, Andrew Timberlake wrote: > I'm suddenly getting an error on my specs > > /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.5/lib/spec/example/example_methods.rb:24:in > `description': No description supplied for example declared on > /home/andrew/dev/rhythm/website/spec/

[rspec-users] Help with some basics

2009-04-30 Thread Andrew Timberlake
I'm suddenly getting an error on my specs /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.5/lib/spec/example/example_methods.rb:24:in `description': No description supplied for example declared on /home/andrew/dev/rhythm/website/spec/models/product_template_spec.rb:4 (Spec::Example::NoDescriptionError