[rspec-users] How to test helpers in a Sinatra app?
lists at ruby-forum.com
Wed Mar 10 12:03:00 EST 2010
I am using rspec and trying to test some helpers, but for some reason
can't get rspec to read my methods in my helpers.rb file. I include the
helpers file in the helpers spec...in the spec I run a test with a
method from my helpers file and I get an error saying: undefined method
Any ideas suggestions, that'd be great.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users