Forum: RSpec Autospec doing nothing

Posted by Rodrigo Flores (Guest)
on 2010-05-09 14:48
(Received via mailing list)
Hi

When I run autospec on a rails project I get nothing.

flores@Suomi(9:41)~/Code/Sabbre/camisa10 % autospec
(Not running features.  To run features in autotest, set 
AUTOFEATURE=true.)
(Not running features.  To run features in autotest, set 
AUTOFEATURE=true.)
loading autotest/rails_rspec
style: RailsRspec


--------------------------------------------------------------------------------

(a bunch of blank lines)

flores@Suomi(9:41)~/Code/Sabbre/camisa10 %


Any ideas ?

My Operating System is Mac OS X Snow Leopard, my ruby is 1.8.7.

Rspec: 1.3.0
Rspec-Rails: 1.3.2
autotest: 4.2.9
autotest-growl : 0.2.4, 0.2.3
autotest-rails: 4.1.0


--
===================
Rodrigo L. M. Flores
Computer Science Msc. Student - IME - USP
Computer Science Degree - IME - USP
Homepage (en): http://www.rodrigoflores.org
Blog (pt-BR): http://blog.rodrigoflores.org
Linux User # : 351304
Jabber: im@rodrigoflores.org
Posted by Rodrigo Flores (Guest)
on 2010-05-09 15:05
(Received via mailing list)
Ops

I searched on the list archive and I found a topic from a month ago 
about
this. My ZenTest version is 4.3.1

My .autotest file is in my ~ and contains only
require "autotest/growl"

rake spec is running succesfully.

On Sun, May 9, 2010 at 09:45, Rodrigo Flores <mail@rodrigoflores.org> 
wrote:

>
> My Operating System is Mac OS X Snow Leopard, my ruby is 1.8.7.
> Rodrigo L. M. Flores
> Computer Science Msc. Student - IME - USP
> Computer Science Degree - IME - USP
> Homepage (en): http://www.rodrigoflores.org
> Blog (pt-BR): http://blog.rodrigoflores.org
> Linux User # : 351304
> Jabber: im@rodrigoflores.org
>



--
===================
Rodrigo L. M. Flores
Computer Science Msc. Student - IME - USP
Computer Science Degree - IME - USP
Homepage (en): http://www.rodrigoflores.org
Blog (pt-BR): http://blog.rodrigoflores.org
Linux User # : 351304
Jabber: im@rodrigoflores.org
Posted by Rodrigo Flores (Guest)
on 2010-05-29 05:30
(Received via mailing list)
I discovered the solution

I have to put this on the .autotest file

http://pastie.textmate.org/982730

On Sun, May 9, 2010 at 09:56, Rodrigo Flores <mail@rodrigoflores.org> 
wrote:

> On Sun, May 9, 2010 at 09:45, Rodrigo Flores <mail@rodrigoflores.org>wrote:
>> loading autotest/rails_rspec
>>
>>
>
> Jabber: im@rodrigoflores.org
>



--
===================
Rodrigo L. M. Flores
Computer Science Msc. Student - IME - USP
Computer Science Degree - IME - USP
Homepage (en): http://www.rodrigoflores.org
Blog (pt-BR): http://blog.rodrigoflores.org
Linux User # : 351304
Jabber: im@rodrigoflores.org
Posted by Tattoo (Guest)
on 2010-06-25 03:45
(Received via mailing list)
To get this working, I had to comment out line 21:

SPEC_PROGRAM = File.expand_path(File.join(File.dirname(__FILE__),
'..', '..', 'bin', 'spec'))

My output said that I already had SPEC_PROGRAM initialized and also
this line made it point to ../../bin/spec where I do not have spec
installed (correct place for me was ~/.gem/ruby/1.8/bin/spec). I doubt
for many, the situation is the same.

Are you sure this line is necessary?
Posted by Ed Howland (Guest)
on 2010-06-30 01:42
(Received via mailing list)
Hi, does anyone know how to modify this to work on Lucid?

I have libnotify installed, but haven't figured out how to get ZenTest
4.3 to work with growl on Ubuntu.


Cheers,
Ed

Ed Howland
http://greenprogrammer.wordpress.com
http://twitter.com/ed_howland
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.