2008-08-11 04:29:21 +00:00
|
|
|
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
|
|
|
|
|
|
describe Webrat::Logging do
|
2009-04-08 00:30:12 +00:00
|
|
|
|
2008-10-25 20:56:06 +00:00
|
|
|
it "should not log if there is no logger" do
|
|
|
|
klass = Class.new
|
|
|
|
klass.send(:include, Webrat::Logging)
|
|
|
|
klass.new.debug_log "Testing"
|
2008-08-11 04:29:21 +00:00
|
|
|
end
|
2009-04-08 00:30:12 +00:00
|
|
|
end
|