features/step_definitions/html_steps.rb in simplecov-0.5.2 vs features/step_definitions/html_steps.rb in simplecov-0.5.3

- old
+ new

@@ -38,5 +38,8 @@ files = available_source_files.map {|f| {"name" => f.find('h3').text, "coverage" => f.find('.header span').text} } files.sort_by {|hsh| hsh["name"] }.should == expected_files.sort_by {|hsh| hsh["name"] } end +Then /^there should be (\d+) skipped lines in the source files$/ do |expected_count| + all(".source_table ol li.skipped").count.should == expected_count.to_i +end \ No newline at end of file