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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -