On running unit tests with a setup method, I'm suddenly getting
ArgumentError: interning empty string C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:251:in `to_sym' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:251:in `create_fixtures' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:250:in `map' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:250:in `create_fixtures' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/base.rb :867:in `silence' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:248:in `create_fixtures' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:593:in `load_fixtures' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active_record/fixture s.rb:547:in `setup'
From looking at fixtures.rb it looks like [""] is being passed as the table_names argument to Fixtures#create_fixtures.
Can anyone help me figure out why this started happening and how to fix it?
All was well and tests were passing; I then started fiddling with some data migrations in the test db and this error started happening. Incidentally part of my fiddling included accidentally rolling back some migrations on the development db, which I aborted for fear of losing some useful data; don't know if that's related.
Thanks, Andy