Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. test "should get all lessons from teachers" do
  2. # skip
  3. get admin_report_teacher_path(teachers(:two))
  4. assert_equal 1, assigns(:lessons).count
  5. end
  6.  
  7. test "should get all lessons from laboratories" do
  8. # skip
  9. get admin_report_laboratory_path(laboratories(:two))
  10. assert_equal 2, assigns(:lessons).count
  11. end
  12.  
  13. test "should get all lessons from schoolrooms" do
  14. # skip
  15. get admin_report_schoolroom_path(schoolrooms(:two))
  16. assert_equal 2, assigns(:lessons).count
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement