Created
January 8, 2016 22:49
-
-
Save mycargus/7283bd468475d90e553c to your computer and use it in GitHub Desktop.
Modified spec and its failure message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| code: | |
| ``` | |
| it 'should print an object reference' do | |
| puts SelectiveRelease::Homework.quizzes.quiz_for_everyone | |
| end | |
| ``` | |
| Failures: | |
| 1) Viewing a selective release quiz as the teacher on the assignments index page shows all the quizzes | |
| Failure/Error: puts SelectiveRelease::Homework.quizzes.quiz_for_everyone | |
| NameError: | |
| undefined method `assignment_id=' for module `#<Module:0x007ff5cc5e3f98>' | |
| Did you mean? assignment_quiz | |
| assignment_model | |
| # ./spec/selenium/quizzes/quizzes_selective_release_spec.rb:22:in `puts' | |
| # ./spec/selenium/quizzes/quizzes_selective_release_spec.rb:22:in `puts' | |
| # ./spec/selenium/quizzes/quizzes_selective_release_spec.rb:22:in `block (4 levels) in <top (required)>' | |
| # ./spec/selenium/common.rb:82:in `block (2 levels) in <top (required)>' | |
| # ./spec/spec_helper.rb:34:in `block (3 levels) in <top (required)>' | |
| # ./spec/spec_helper.rb:32:in `block (2 levels) in <top (required)>' | |
| # -e:1:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment