[rspec-devel] [ rspec-Patches-8132 ] [PATCH] RSpec breaks "rake db:sessions:create" in a rails project that has the rspec_on_rails plugin

noreply at rubyforge.org noreply at rubyforge.org
Thu Jan 25 01:26:04 EST 2007


Patches item #8132, was opened at 2007-01-25 01:26
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=8132&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Erik Kastner (kastner)
Assigned to: Nobody (None)
Summary: [PATCH] RSpec breaks "rake db:sessions:create" in a rails project that has the rspec_on_rails plugin

Initial Comment:
running rake db:sessions:create (to create the migration for ActiveRecord based sessions) in a project that has the rspec_on_rails plugin causes this error:

undefined local variable or method `file_name' for #<SessionMigrationGenerator:0x365fd1c>

The problem is that spectask.rb (in lib/spec/rake) has a method "file_list". Changing that method name (and all calls to it) seems to fix the problem.

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

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=8132&group_id=797


More information about the rspec-devel mailing list