spec/lib/cucumber/blanket/coverage_data_spec.rb in cucumber-blanket-0.1.0 vs spec/lib/cucumber/blanket/coverage_data_spec.rb in cucumber-blanket-0.2.0

- old
+ new

@@ -45,6 +45,16 @@ end it "has a shortcut that produces the same data" do Cucumber::Blanket.files.should eq covdata.files end end + + describe "#sources" do + it "shorthand for accessing the sources hash" do + covdata.sources.should eq covdata.data['sources'] + covdata.sources.should be_a Hash + end + it "has a shortcut that produces the same data" do + Cucumber::Blanket.sources.should eq covdata.sources + end + end end