search for: pdfhelper

Displaying 2 results from an estimated 2 matches for "pdfhelper".

Did you mean: pdf_helper
2012 Sep 15
2
[RSpec Testing] Methods take two arguments
Hello, Here is my *pdf_helper.rb* => http://pastebin.com/QU1kTKXk. I want to test, if self.create method can take more than two arguments. But, when I try to run my test. It showed *PdfHelper Should have two arguments Failure/Error: create_pdf.should_receive(object,template).with(user,file) NameError: undefined local variable or method `create_pdf'' for #<RSpec::Core::ExampleGroup::Nested_1:0xabf72f0> # ./pdf_helper_spec.rb:13:in `block (2 levels) i...
2005 Sep 22
0
All caps in controller names
Are controller names allowed to have all caps, like PDFController? I created a controller called PDFController with the generator and it croaks with an unknown constant PdfHelper error. Is that not the convention? I reported this as a bug, but now I''m not so sure because the wiki doesn''t recognize PDFController as a valid wiki word. -Jeff