Skip to content

Instantly share code, notes, and snippets.

@leemcalilly
Created January 29, 2018 17:15
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 leemcalilly/f6f494499a0eb6502b238d52fd358a1b to your computer and use it in GitHub Desktop.
Save leemcalilly/f6f494499a0eb6502b238d52fd358a1b to your computer and use it in GitHub Desktop.
ERROR["test_should_get_quotes_index_as_browse", QuotesControllerTest, 1.913632999989204]
test_should_get_quotes_index_as_browse#QuotesControllerTest (1.91s)
ActionView::Template::Error: ActionView::Template::Error: undefined method `name' for nil:NilClass
app/views/quotes/_quote.html.erb:3:in `_app_views_quotes__quote_html_erb__270749166253541266_70193598016560'
app/views/quotes/browse.html.erb:19:in `_app_views_quotes_browse_html_erb__3410593670313763080_70193597990620'
test/controllers/quotes_controller_test.rb:22:in `block in <class:QuotesControllerTest>'
QuotesControllerTest#test_should_get_quotes_index_as_browse = 0.04 s = E
Error:
QuotesControllerTest#test_should_get_quotes_index_as_browse:
ActionView::Template::Error: undefined method `name' for nil:NilClass
app/views/quotes/_quote.html.erb:3:in `_app_views_quotes__quote_html_erb__270749166253541266_70193598016560'
app/views/quotes/browse.html.erb:19:in `_app_views_quotes_browse_html_erb__3410593670313763080_70193597990620'
test/controllers/quotes_controller_test.rb:22:in `block in <class:QuotesControllerTest>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment