Skip to content

Instantly share code, notes, and snippets.

@apangeajwrubel
Last active December 10, 2015 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apangeajwrubel/4438708 to your computer and use it in GitHub Desktop.
Save apangeajwrubel/4438708 to your computer and use it in GitHub Desktop.
Test failures on dbcharmer-horizontal
Unit Tests
Snippet:
ERROR (0.01649s) (11:00:09.365) 0002 can create a snippet with audio from text
Couldn't find Snippet with id=1564
School::shard_name
TODO: fix this test because previously we picked the LAST shard
FAIL (0.01305s) (11:00:08.666) 0001 uses a random shard if this customer doesn't have any other schools
Expected: "enrollments_shard_two"
Actual: "enrollments_shard_four"
Response
FAIL (0.38501s) (10:00:45.111) 0019 knows when a response is correct
Expected: true
Actual: false
FAIL (0.39166s) (10:00:45.735) 0015 knows when a string matches an alias
Expected: true
Actual: false
FAIL (0.31591s) (10:00:47.050) 0016 knows when a string matches an alias but case is different
Expected: true
Actual: false
ReadableText
ERROR (0.42913s) (10:00:44.199) 0005 adds a snippet when updating english audio
undefined method `snippet=' for nil:NilClass
app/models/readable_text.rb:62:in `update_audio!'
ERROR (0.44816s) (10:00:44.647) 0006 calls update translations when updating audio
undefined method `snippet=' for nil:NilClass
app/models/readable_text.rb:62:in `update_audio!'
PlacementTestTest
ERROR (2.99856s) (10:00:15.735) 0005 is complete after five correct attempts in a grade level
undefined local variable or method `performance_grade_level' for #<EnrollmentLessonCalculator:0x007fc17b7795e0>
ERROR (2.14420s) (10:00:17.881) 0011 should be able to place lessons based on grade level difference and not place lessons already taken
undefined local variable or method `performance_grade_level' for #<EnrollmentLessonCalculator:0x007fc17b3e1220>
ERROR (3.88897s) (10:00:27.949) 0009 places a student below the minimum grade level when moving down at end of placement test
undefined local variable or method `performance_grade_level' for #<EnrollmentLessonCalculator:0x007fc17a6f7488>
ERROR (9.03567s) (10:00:40.750) 0010 will not include deactivated lessons in placement tests
undefined local variable or method `performance_grade_level' for #<EnrollmentLessonCalculator:0x007fc17f87e130>
ItemStep
FAIL (0.18111s) (9:00:02.716) 0010 won't return a deactivated next hint
--- expected
+++ actual
@@ -1 +1 @@
-nil
+#<Hint id: 25, item_step_id: 2848, position: 1, created_at: "2013-01-02 21:18:17", updated_at: "2013-01-02 21:18:17", version_of_hint_id: nil, active: false>
FAIL (0.67902s) (9:00:06.738) 0009 knows when an attempt string is correct
Expected: true
Actual: false
Enrollment
ERROR (8.10034s) (2:00:38.502) 0061 must not include inactive pathway lessons in remediation
Couldn't find LessonEnrollment with id=95
ERROR (11.88054s) (4:00:07.483) 0017 reports percent passed correctly on a path with retakes and deferrals
Couldn't find LessonEnrollment with id=127
ERROR (87.71435s) (5:00:42.051) 0059 should do all sorts of remediation
Couldn't find LessonEnrollment with id=139
ERROR (11.85725s) (6:00:13.183) 0015 reports percent complete correctly on a path with retakes and deferrals
Couldn't find LessonEnrollment with id=127
ERROR (14.74015s) (6:00:50.830) 0035 defers a lesson when a student fails it for the second time in a deferrable pathway
Couldn't find LessonEnrollment with id=166
DefaultPathway
FAIL (0.08547s) (1:00:09.978) 0001 returns the common core pathway for that grade level
--- expected
+++ actual
@@ -1 +1 @@
-#<Pathway id: 38, created_at: "2013-01-02 21:10:24", updated_at: "2013-01-02 21:10:24", name: "Pathway 38", grade_level_id: 15, state_id: 133, use_placement_test: false, skip_problem_solving_process: false, allow_test_out: true, require_pre_quiz: false, creator_id: 48, customer_id: nil, use_remediation: true, published: true, demo: false>
+nil
FAIL (0.05141s) (1:00:10.242) 0002 returns a common core pathway if there isn't a state one
--- expected
+++ actual
@@ -1 +1 @@
-#<Pathway id: 44, created_at: "2013-01-02 21:10:24", updated_at: "2013-01-02 21:10:24", name: "Pathway 44", grade_level_id: 15, state_id: 142, use_placement_test: false, skip_problem_solving_process: false, allow_test_out: true, require_pre_quiz: false, creator_id: 54, customer_id: nil, use_remediation: true, published: true, demo: false>
+nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment