Hi all,
Im a new user for using Rails,
I got the 3 error msg as belows,
/usr/bin/ruby1.8 -I"lib:test" "/home/mioinst/.gem/ruby/1.8/gems/
rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/
way_controller_test.rb" "test/functional/
diary_entry_controller_test.rb" "test/functional/
amf_controller_test.rb"
"test/functional/relation_controller_test.rb"
"test/functional/swf_controller_test.rb" "test/functional/
message_controller_test.rb" "test/functional/
changeset_tag_controller_test.rb" "test/functional/
node_controller_test.rb"
"test/functional/old_node_controller_test.rb"
"test/functional/search_controller_test.rb" "test/functional/
user_preference_controller_test.rb" "test/functional/
user_controller_test.rb"
"test/functional/old_way_controller_test.rb"
"test/functional/trace_controller_test.rb" "test/functional/
api_controller_test.rb"
"test/functional/friend_controller_test.rb"
"test/functional/old_relation_controller_test.rb"
"test/functional/
geocoder_controller_test.rb" "test/functional/
changeset_controller_test.rb" "test/functional/
browse_controller_test.rb"
"test/functional/export_controller_test.rb"
"test/functional/site_controller_test.rb"
Loaded suite /home/mioinst/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake/
rake_test_loader
Started
................................F.F.F...............................................................................................................................................
Finished in -3824716.83084 seconds.
1) Failure:
test_changes_simple(ApiControllerTest) [/test/functional/
api_controller_test.rb:204]:
Expected response to be a <:success>, but was <500>
<"">
2) Failure:
test_changes_zoom_valid(ApiControllerTest)
[/test/functional/api_controller_test.rb:228:in
`test_changes_zoom_valid''
/test/functional/api_controller_test.rb:226:in `upto''
/test/functional/api_controller_test.rb:226:in
`test_changes_zoom_valid'']:
Expected response to be a <:success>, but was <500>
<"">
3) Failure:
test_hours_valid(ApiControllerTest)
[/test/functional/api_controller_test.rb:257:in `test_hours_valid''
/test/functional/api_controller_test.rb:255:in `upto''
/test/functional/api_controller_test.rb:255:in
`test_hours_valid'']:
Expected response to be a <:success>, but was <500>
<"">
180 tests, 2341 assertions, 3 failures, 0 errors
I have no idea how to fix this problem, Could someone know how to fix
this please?
Thank you so much.
Best Wishes,
Neckie.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 May 2010 10:38, neckie <neckie22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > Im a new user for using Rails, > I got the 3 error msg as belows, >... > rake_test_loader > Started > ................................F.F.F............................................................................................................................................... > Finished in -3824716.83084 seconds. > > 1) Failure: > test_changes_simple(ApiControllerTest) [/test/functional/ > api_controller_test.rb:204]: > Expected response to be a <:success>, but was <500> > <"">If you look in test.log you may get some clues as to why you are getting the 500 error. Have you setup database.yml to refer correctly to the test database? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Dear Colin, Thanks for you help. I''ve already fix this problem. Thank you so much. ^^ On 5月18日, 上午5時01分, clanlaw <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 17 May 2010 10:38, neckie <necki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi all, > > Im a new user for using Rails, > > I got the 3 error msg as belows, > >... > > rake_test_loader > > Started > > ................................F.F.F............................................................................................................................................... > > Finished in -3824716.83084 seconds. > > > 1) Failure: > > test_changes_simple(ApiControllerTest) [/test/functional/ > > api_controller_test.rb:204]: > > Expected response to be a <:success>, but was <500> > > <""> > > If you look in test.log you may get some clues as to why you are > getting the 500 error. > Have you setup database.yml to refer correctly to the test database? > > Colin > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.