Skip to content

Instantly share code, notes, and snippets.

@hardbap
Created October 3, 2008 17:53
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 hardbap/14593 to your computer and use it in GitHub Desktop.
Save hardbap/14593 to your computer and use it in GitHub Desktop.
test: Class Document with attachment upload should have the correct definition. (DocumentTest):
NoMethodError: undefined method `attachment_definition' for #<Class:0x23cbb60>
method method_missing in base.rb at line 1768
method __bind_1223056228_747486 in paperclip.rb at line 14
method call in context.rb at line 257
method test: Class Document with attachment upload should have the correct definition. in context.rb at line 257
method __send__ in setup_and_teardown.rb at line 94
method run in setup_and_teardown.rb at line 94
2) Error:
test: Class Document with attachment upload should respond to all the right methods. (DocumentTest):
NameError: undefined local variable or method `object' for #<DocumentTest:0x1f8a9fc>
method method_missing in test_process.rb at line 464
method __bind_1223056228_748994 in paperclip.rb at line 8
method each in paperclip.rb at line 7
method __bind_1223056228_748994 in paperclip.rb at line 7
method call in context.rb at line 257
method test: Class Document with attachment upload should respond to all the right methods. in context.rb at line 257
method __send__ in setup_and_teardown.rb at line 94
method run in setup_and_teardown.rb at line 94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment