The way I include helper into my cucumber testing here:
You create a file world.rb (or any name you want) under support folder. In my world.rb I define like this:
module Helper include ProjectHelper include ProductBacklogHelper include ApplicationHelper include Capybara::DSL include Prickle::Capybara end #end Module World(Helper)
You should include the helper file that has "number_to_currency" function in world.rb
I hope this will help you