spec/lib/cucumber/blanket_spec.rb in cucumber-blanket-0.0.2 vs spec/lib/cucumber/blanket_spec.rb in cucumber-blanket-0.0.3

- old
+ new

@@ -1,7 +1,14 @@ require 'spec_helper' describe Cucumber::Blanket do + + describe "#files" do + it "is a shortcut for coverage_data#files" do + subject.files.should eq subject.coverage_data.files + end + end + describe "#extract_from" do let(:page) { FakePage.new } context "Selenium-returned blanket.js coverage data structure characteristics" do let(:cov) do subject.extract_from(page)