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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -