spec/utopia/path_spec.rb in utopia-1.2.2 vs spec/utopia/path_spec.rb in utopia-1.2.3
- old
+ new
@@ -121,10 +121,9 @@
expect(path.expand(root)).to be == (root + path)
end
it "shouldn't expand absolute paths" do
root = Utopia::Path['/root']
- path = Utopia::Path["dir/foo.html"]
expect(root.expand(root)).to be == root
end
it "should give the shortest path for outer paths" do