saasbook / hw-acceptance-unit-test-cycle

5 stars 1.88k forks source link

migration failing that was not in submission `uninitialized constant` #39

Open tansaku opened 5 years ago

tansaku commented 5 years ago

student report:

It seems the autograder tries (and fails) to migrate from a migration file that we didn't provide. Though our cucumber tests are green and RSpec covers around 90%, we never receive higher than 0% for any submission.

here is an image of the error from EDX. The first line shows a class AddMoreMovies that throws an error. (Note that we did not submit the file "20120130161449_add_more_movies.rb", this was internal.)

/2018-10-22-14-46-17/db/migrate/20111119180638_create_movies.rb:10)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

uninitialized constant AddMoreMovies::Movie/home/ubuntu/rag/submissions/c2b7336d28e9341109bd03b1d041b544/assignment4
tansaku commented 5 years ago

it appears that this was caused by the assignment not being fully nested in the required directory when zipped up for submission