search for: user_controller_spec

Displaying 3 results from an estimated 3 matches for "user_controller_spec".

Did you mean: users_controller_spec
2007 Nov 01
3
autotest debugger?
Hi, I keep facing problems with autotest, and I don''t know what''s happening in the background, is there anyway to know what''s happening while testing? Example: @user = User.new @user.email = "testcom" @user.errors.on(:email).should_not be_empty ...throws error failure - You have a nil object when you didn''t expect it! - You might have expected an
2011 Jul 05
4
Problem of "rake spec"
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 the right place to test functional.. plz give me a help thanks -- You received this message
2006 Jun 16
0
rake spec controller test output hideus.
...----------- ruby -Ilib "/opt/local/lib/ruby/gems/1.8/gems/rspec-0.5.9/lib/spec/rake/../../../bin/spec" "spec/controllers/forum_controller_spec.rb" "spec/controllers/home_controller_spec.rb" "spec/controllers/links_controller_spec.rb" "spec/controllers/user_controller_spec.rb" .......F. 1) ExpectationNotMetError in ''The UserController should not allow new users without the correct fields'' ActionController::TestResponse #<ActionController::TestResponse:0x24d6880 @body="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\...