Project

General

Profile

Download (223 Bytes) Statistics
| Branch: | Tag: | Revision:
def verify_exact_contents(subject, title, expected_lines)
content = subject.resource('file', title).send(:parameters)[:content]
content.split(/\n/).reject { |line| line =~ /(^#|^$|^\s+#)/ }.should == expected_lines
end
    (1-1/1)