Closed gsrohde closed 7 years ago
Can you link to the failing build?
https://travis-ci.org/PecanProject/bety/builds/219465407
This is the first build on master that fails for this reason, I believe. The problem is that the file app/controllers/api/beta/experiments_controller.rb requires the experiments table to be there: On my own copy of BETYdb, if I remove the experiments table, RSpec will crash. If I then remove this file, RSpec will run again.
Looks like that bundle exec rake db:structure:load
does not create the experiments table?
Updated test_structure.sql. This can be closed but issue #544 is still a problem.
test_structure.sql
to matchproduction_structure.sql
.production_structure.sql
andtest_structure.sql
need to be updated whenever the database schema changes.@robkooper Can you look at this when you get a chance. For now, I made a branch called
travis_kludge
which is likemaster
with the experiments controllers removed. This makes Travis pass.