spec/churn_spec.rb in p8-metric_fu-0.8.4 vs spec/churn_spec.rb in p8-metric_fu-0.8.4.1

- old
+ new

@@ -20,9 +20,16 @@ churn = Churn.new('base_dir') churn.instance_variable_get(:@minimum_churn_count).should == 5 end end + + describe "template_name" do + it "should return the class name in lowercase" do + churn = Churn.new('base_dir') + churn.template_name.should == 'churn' + end + end describe "parse_log_for_changes" do it "should count the changes with git" do logs = ["home_page/index.html", "README", "History.txt", "README", "History.txt", "README"] git_mock = mock('git') \ No newline at end of file