ruby on rails - Rspec Can't Find Controller -
ruby on rails - Rspec Can't Find Controller -
i thought controllers auto loaded can test them rspec.
require 'spec_helper' rspec.describe questionscontroller 'next' params = hash.new params[:question_id => 1] next_func(params) end end
i receiving error:
uninitialized constant questionscontroller
ruby-on-rails unit-testing rspec tdd
Comments
Post a Comment