Commit a3f53830 authored by Zac Wood's avatar Zac Wood
Browse files

Courses no longer belong to semesters, course sections do

- vastly speeds up seed script and possibily searches as well
- reworked some views to work correctly with new behavior
parent 676b28b8
......@@ -10,8 +10,4 @@ class SemesterTest < ActiveSupport::TestCase
test 'create successful' do
Semester.create!(season: 'Test', year: 'Test')
end
test 'semester has correct number of courses' do
assert_equal 2, semesters(:fall2018).courses.count
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment