[rspec-users] autotest bug?

Scott Taylor mailing_lists at railsnewbie.com
Fri Jun 8 01:57:26 EDT 2007


Autotest is running continuously - even when the files mtimes aren't  
changing.  I believe this only happens if using a failures file.   
autotest -v gives me:

euclid% autotest -v
loading autotest/rails_rspec
/opt/local/bin/ruby -S script/spec -O spec/spec.opts  spec/ 
controllers/log_entries_controller_spec.rb spec/views/login/ 
new_spec.rb spec/controllers/login_controller_spec.rb spec/models/ 
user_spec.rb spec/views/log_entries/edit_html.erb_spec.rb spec/views/ 
log_entries/index_html.erb_spec.rb spec/views/log_entries/ 
new_html.erb_spec.rb spec/views/log_entries/show_html.erb_spec.rb  
spec/helpers/login_helper_spec.rb spec/models/log_entry_spec.rb
........................................................................ 
.....F..

1)
'LoginController routes should route create to POST /login' FAILED
expected "/login", got "/login/create" (using ==)
./spec/controllers/login_controller_spec.rb:13:
script/spec:4:

Finished in 3.04389 seconds

80 examples, 1 failure
[["spec/previous_failures.txt", Fri Jun 08 01:13:32 -0400 2007]]

(The last line is the important one).


Is there a way to get around this via autotest?  Or does this suggest  
that Autotest::Rspec needs to be patched?  Or should rspec use a  
standard failures file?

Scott



More information about the rspec-users mailing list