I have been following the 15 TDD steps to create a Rails application guide - but have run into an issue I cannot seem to resolve. For the functional test of the WordsContro
mocha needs to be loaded last. I struggled a lot with this problem too.
#Gemfile group :test gem 'mocha', '~>0.9.8', :require => false ... end
and
test_helper.rb .... #at the very bottom require 'mocha'