[Rails] Problem of rake spec

2011-07-05 Thread Yennie
Hi, I use rake spec to run file user_controller_spec but it seems nothing happed can anyone help me to solve the problem yennie@ubuntu:~/Desktop/Picto$ rake spec (in /home/joanne/Desktop/Picto) Test file Picto/spec/user_controller_spec.rb require "spec_helper" describe User do befor

Re: [Rails] Problem of "rake spec"

2011-07-05 Thread Martin Wawrusch
your file needs to be named user_controller_spec.rb the _spec.rb is important On Tue, Jul 5, 2011 at 9:03 AM, Yennie wrote: > Hi all, > > I am a bit confused when i type rake spec and it gives me this > message, > No examples matching ./spec/**/*_spec.rb could be found > > what is that mean that

[Rails] Problem of "rake spec"

2011-07-05 Thread Yennie
Hi all, I am a bit confused when i type rake spec and it gives me this message, No examples matching ./spec/**/*_spec.rb could be found what is that mean that something is not found. and where i can input my the test code because i did have a tiny sample code in user_controller_test.rb. is that