Created
August 1, 2014 03:43
-
-
Save cypherjones/18a547f558cc0211b5cd to your computer and use it in GitHub Desktop.
Error Message
This file contains 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
1) VideosController POST search sets @results with an authenticated user | |
Failure/Error: expect(assigns(:results)).to eql([futurama]) | |
expected: [#<Video id: 1, title: "Futurama", description: "Molestiae sit vel distinctio aliquam mollitia. Exc...", small_cover_url: nil, large_cover_url: nil, created_at: "2014-08-01 03:42:45", updated_at: "2014-08-01 03:42:45", category_id: nil>] | |
got: #<ActiveRecord::Relation [#<Video id: 1, title: "Futurama", description: "Molestiae sit vel distinctio aliquam mollitia. Exc...", small_cover_url: nil, large_cover_url: nil, created_at: "2014-08-01 03:42:45", updated_at: "2014-08-01 03:42:45", category_id: nil>]> | |
(compared using eql?) | |
Diff: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment