[rspec-users] Is there an easy way to inject each example text into test.log

Evgeniy Dolzhenko dolzenko at gmail.com
Sun Jan 30 07:00:25 EST 2011

RSpec.configure do |c|

   c.before do |m|
     Rails.logger.debug "==> #{m.example.full_description}"



On 1/30/2011 2:00 PM, Tom H. wrote:
> Evgeniy Dolzhenko wrote in post #978481:
>> Do you need the full source code of an example in the log output, or
>> just a description?
> Just the description would be good so I can match up the log entries to
> the spec

More information about the rspec-users mailing list