Problem with Autotest and Rails

using rails 2.0.2 and ZenTest 3.7.2

I know this must be something dumb I’m doing. But I’m getting this
problem both in OSX and ubuntu.

On a new rails projects when I run autotest I get the following
output


loading autotest/rails
Dunno! test/test_helper.rb
Dunno! README
Dunno! Rakefile
Dunno! app/helpers/application_helper.rb
Dunno! app/controllers/application.rb

when I install the two rspec plugins, rspec and rspec_on_rails I get the
same output followed by every file part of the two pugins, so:

loading autotest/rails
Dunno! test/test_helper.rb
Dunno! README
Dunno! app/helpers/application_helper.rb
Dunno! app/controllers/application.rb
Dunno! Rakefile
Dunno!
vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec
Dunno!
vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb
Dunno! vendor/plugins/rspec_on_rails/Rakefile
Dunno!
vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
Dunno!
vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/implicit_helper.rhtml
Dunno!
vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb
.
etc…

I know I must be doing something dumb, can someone tell me please?

Hi Andrew,

If you don’t already have one, create a file called “.autotest” in the
root directory of your rails project.

Then add this line to the file:

$VERBOSE = false

I got this solution from Changes in rspec's trunk and autotest - RSpec - Ruby-Forum
because I was having the same problem you were.

Cheers,

Adam S.
http://adamsoltys.com/

Andrew G. wrote:

using rails 2.0.2 and ZenTest 3.7.2

I know this must be something dumb I’m doing. But I’m getting this
problem both in OSX and ubuntu.

On a new rails projects when I run autotest I get the following
output


loading autotest/rails
Dunno! test/test_helper.rb
Dunno! README
Dunno! Rakefile
Dunno! app/helpers/application_helper.rb
Dunno! app/controllers/application.rb

when I install the two rspec plugins, rspec and rspec_on_rails I get the
same output followed by every file part of the two pugins, so:

loading autotest/rails
Dunno! test/test_helper.rb
Dunno! README
Dunno! app/helpers/application_helper.rb
Dunno! app/controllers/application.rb
Dunno! Rakefile
Dunno!
vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec
Dunno!
vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb
Dunno! vendor/plugins/rspec_on_rails/Rakefile
Dunno!
vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
Dunno!
vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/implicit_helper.rhtml
Dunno!
vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb
.
etc…

I know I must be doing something dumb, can someone tell me please?

wicked! thanks, that fixed it.

On Jan 14, 2008 8:29 AM, Andrew G.
[email protected] wrote:

wicked! thanks, that fixed it.

FYI - all that was happening was that ZenTest-3.7.2 was spitting out
the names of files it doesn’t have mapping for by default. That’s
fixed in 3.8.0 (coming very soon) so you’ll actually want to get rid
of that line in .autotest if you want to be able to use the -v flag to
run in verbose mode.

Cheers,
David

On Jan 14, 9:43 am, “David C.” [email protected] wrote:

FYI - all that was happening was that ZenTest-3.7.2 was spitting out
the names of files it doesn’t have mapping for by default.

I wonder why he got all those dunnos, though.

///ark

On Jan 14, 7:29 pm, Andrew G. [email protected]
wrote:

wicked! thanks, that fixed it.

Posted viahttp://www.ruby-forum.com/.
On Jan 14, 7:29 pm, Andrew G. [email protected]