C0 code coverage information
Generated on Sun Oct 26 11:18:15 -0500 2008 with rcov 0.8.1.2
Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
1 require File.dirname(__FILE__) + '/../spec_helper'
2 require 'aquarium/utils/array_utils'
3 require 'set'
4
5 describe Aquarium::Utils::HtmlEscaper, ".escape" do
6 it "should replace < with < and > with >" do
7 Aquarium::Utils::HtmlEscaper.escape("<html></html>").should == "<html></html>"
8 end
9 end
10
11 describe Aquarium::Utils::HtmlEscaper, "#escape" do
12 it "should replace < with < and > with >" do
13 class Escaper
14 include Aquarium::Utils::HtmlEscaper
15 end
16 Escaper.new.escape("<html></html>").should == "<html></html>"
17 end
18 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.