jeudi 8 octobre 2015

Ruby on Rails Test Stopped Working

I was running tests without a problem on a cloud9 console. I made what I thought was a basically inconsequential change in my code to fix a testing fail, and got this error message:

rake aborted! NameError: undefined local variable or method `migrateRails' for main:Object

The change I made was just to add a function to a controller, nothing to do with the test gem. I reinstalled the bundle and ran the test again. Same error.

I undid the change in the controller. Same error.

Thanks.

Aucun commentaire:

Enregistrer un commentaire