5 Replies Latest reply on Jul 19, 2012 1:19 AM by Evgeny Vovchenko

    Error: uninitialized constant SpecRunnerController

      I have this link in index.erb:

       

      <li><a href="SpecRunner">Run tests</a></li>
      

       

      But in RhoSimulator web debugger shows:

       

       <html>
                  <head>
                      <meta name="viewport" content="width=320"/>
                  </head>
                  <body>
                      <h2>Server Error</h2>
                      <p>
      Error: uninitialized constant SpecRunnerController<br/>Trace: <br/>
      /Users/adiaz/.rvm/gems/ruby-1.9.3-p194/gems/rhodes-3.3.3/lib/framework/rho/rho.rb:1309:in `const_missing'<br/>
      /Users/adiaz/.rvm/gems/ruby-1.9.3-p194/gems/rhodes-3.3.3/lib/framework/rho/rhoapplication.rb:226:in `const_get'<br/>
      /Users/adiaz/.rvm/gems/ruby-1.9.3-p194/gems/rhodes-3.3.3/lib/framework/rho/rhoapplication.rb:226:in `serve'<br/>
      /Users/adiaz/.rvm/gems/ruby-1.9.3-p194/gems/rhodes-3.3.3/lib/framework/rho/rho.rb:838:in `serve'                </p>    
                  </body>
              </html>
      
      

       

      I think I have correctly defined app/SpecRunner/controller.rb, I used rhodes spec to generate the files.

       

      I tried to change its name by app/SpecRunner/spec_runner_controller.rb, but I got the same mistake.

       

      What could I be failing on?