Hi,
I posted my problem first on rspec-users but I got the tip that this
would be the right place to ask. So here I am ;-)
I've got a problem when using spork. If I use a helper method which is
defined in a custom helper module (app/helpers/simple_helper.rb) then
I got the following error when running "rake spec".
ActionView::TemplateError in '/items/index.html.erb renders a list of
items'
undefined method `simpleFunction' for #<ActionView::Base:0x2409c44>
On line #2 of app/views/items/index.html.erb
This simpleFunction is defined in app/helpers/simple_helper.rb. The
error does not occur when running "rake spec" without spork.
I put this simple rails project as example on github:
http://github.com/JerryWho/test
First I thought simple_helper.rb isn't loaded but that's not correct.
Using some puts $" I can see that the file is loaded.
Any ideas what I'm doing wrong?
Thanks,
Martin