spec/base_spec.rb in p8-metric_fu-0.8.4.5 vs spec/base_spec.rb in p8-metric_fu-0.8.4.6

- old
+ new

@@ -44,7 +44,13 @@ describe "template_name" do it "should return the class name in lowercase" do @generator = MetricFu::Base::Generator.new('other_dir') @generator.template_name.should == 'generator' end + end + + describe "open_in_browser?" do + it "should return the value of PLATFORM['darwin']" do + @generator = MetricFu.open_in_browser?.should == PLATFORM['darwin'] + end end end \ No newline at end of file