spec/fontcustom/utility_spec.rb in fontcustom-1.3.0.beta2 vs spec/fontcustom/utility_spec.rb in fontcustom-1.3.0.beta3

- old
+ new

@@ -116,19 +116,19 @@ gen.delete_from_manifest :fonts gen.instance_variable_get(:@manifest)[:fonts].should == [] end end - context "#relative_to_root" do + context "#relative_path" do it "should trim project root from paths" do gen = Generator.new - path = gen.relative_to_root fixture "test/path" + path = gen.relative_path fixture "test/path" path.should == "test/path" end it "should trim beginning slash" do gen = Generator.new - path = gen.relative_to_root "/test/path" + path = gen.relative_path "/test/path" path.should == "test/path" end end #context "#say_message" do