Oh, I see. What I understand from you guys' suggestion is that there is a
possibility of autotest picking up updated files unnecessarily somewhere in
my rails app directory, right?
So, I tried to make the exceptions suit to my environment, and the
following:
Autotest.add_hook :initialize do |at|
I think there is a fuller form which loops over a lot more.
Autotest.add_hook :initialize do |autotest|
%w{.git .svn .hg .DS_Store ._* vendor tmp log doc}.each do |exception|
autotest.add_exception(exception)
end
end
This I found on the Getting started with Autotest. I'm really junior at
Using SQLite? Might be picking up the journal. Try something like:
at.add_exception %r{^./db/test\.sqlite3-journal}
On Mon, Jan 17, 2011 at 2:07 PM, Nori Hamamoto wrote:
> Hi Edward,
>
> Thank you for your reply.
> I tried your suggestion put those configuration you mentioned in my
> .autotest
I've removed my ~/.autotest, but the same problem keep happening.
I originally used this file to configure it to connect to growl, so the
growl has not shown up on my Mac's screen, but autospec in my console is
keep repeating the test until I make the test success.
Nori
On Mon, Jan 17, 2011 at 3
Hi Edward,
Thank you for your reply.
I tried your suggestion put those configuration you mentioned in my
.autotest file and now my .autotest is like this:
require 'autotest/growl'
Autotest.add_hook :initialize do |at|
# Ignore files in tmp/
at.add_exception %r%^\./tmp%
end
but the same prob
Have you configured your .autotest file with an Autotest hook?
This is from the cucumber Autotest Integration, but, I'm not certain if its
appropriate for Rails 1.3.3
Autotest.add_hook :initialize do |at|
# Ignore files in tmp/
at.add_exception %r%^\./tmp%
end
I was running into the same iss
Additionally, this problem doesn't happen when I use autospec on simple ruby
rb file, but only happens with rails.
On Fri, Jan 14, 2011 at 12:29 PM, Nori Hamamoto wrote:
> Hi there,
>
> I met a problem when I'm using RSpec(1.3.0) on rails.
> I installed rspec(1.3.1) and rspec-rails(1.3.3) instal