How to test helpers in a Sinatra app?

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
for my_method

Any ideas suggestions, that’d be great.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs