Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test "should get all lessons from teachers" do
- # skip
- get admin_report_teacher_path(teachers(:two))
- assert_equal 1, assigns(:lessons).count
- end
- test "should get all lessons from laboratories" do
- # skip
- get admin_report_laboratory_path(laboratories(:two))
- assert_equal 2, assigns(:lessons).count
- end
- test "should get all lessons from schoolrooms" do
- # skip
- get admin_report_schoolroom_path(schoolrooms(:two))
- assert_equal 2, assigns(:lessons).count
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement