[rspec-users] Setup for autospec for non-rails project

Mark Wilden mark at mwilden.com
Tue Dec 2 12:12:30 EST 2008


On Tue, Dec 2, 2008 at 9:01 AM, Rick DeNatale <rick.denatale at gmail.com>wrote:


> $ autospec
> loading autotest/rspec
> /opt/local/bin/ruby -S spec/lib/v_date_time_property_spec.rb
> spec/lib/v_date_property_spec.rb spec/lib/v_property_spec.rb
> spec/lib/parser_spec.rb spec/lib/t_z_info_vtimezone_spec.rb
> spec/lib/v_date_time_property_spec.rb:8: warning: parenthesize argument(s)
> for future version
> spec/lib/v_date_time_property_spec.rb:12: warning: parenthesize argument(s)
> for future version
> spec/lib/v_date_time_property_spec.rb:4: undefined method `describe' for
> main:Object (NoMethodError)
>

Are you requiring 'spec' anywhere?

///ark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081202/be9597c6/attachment.html>


More information about the rspec-users mailing list