def setup
logger.info("\n\n STARTING #{get_method_name} \n\n")
end
gives me
STARTING setup_without_fixtures
in my log. If I put my logger in each method it prints fine.
def test_account_create
logger.info("\n\n STARTING #{get_method_name} \n\n")
assert Account.create(:name => "Bob's Tofu House", :short_name =>
"bths")
end
will print
STARTING test_account_create
any ideas why?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---