[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
Mon Feb 26 18:20:06 EST 2007


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

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Erik Kastner (kastner)
>Assigned to: David Chelimsky (dchelimsky)
>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.

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

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-02-26 23:20

Message:
Applied in rev 1539. Thanks Erik!

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

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