On Sun, Jan 30, 2011 at 9:16 AM, David Chelimsky wrote:
> On Jan 30, 2011, at 6:00 AM, Evgeniy Dolzhenko wrote:
>
>> 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?
>
On Jan 30, 2011, at 6:00 AM, Evgeniy Dolzhenko wrote:
> 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 e
That worked a treat
Thanks
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
RSpec.configure do |c|
c.before do |m|
Rails.logger.debug "==> #{m.example.full_description}"
end
end
Cheers
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
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
--
Posted via http://www.ruby-forum.com/.
__
Do you need the full source code of an example in the log output, or
just a description?
On 1/30/2011 12:16 PM, Tom H. wrote:
This was asked back in 2008 but I'm wondering if there is an easier way
with rspec2 and rails. Seems like it would make my test log much more
meaningful. Surely somebody
This was asked back in 2008 but I'm wondering if there is an easier way
with rspec2 and rails. Seems like it would make my test log much more
meaningful. Surely somebody must have done it.
Is there an easy way to inject each example text into test.log so I
can isolate the log output per example?