spec/utopia/content/node_spec.rb in utopia-1.0.11 vs spec/utopia/content/node_spec.rb in utopia-1.1.0

- old
+ new

@@ -20,10 +20,10 @@ require 'utopia/content' module Utopia::ContentSpec describe Utopia::Content::Node do - let(:root) {File.expand_path("../node", __FILE__)} + let(:root) {File.expand_path("node", __dir__)} let(:content) {Utopia::Content.new(lambda{}, root: root)} it "should list siblings in correct order" do node = content.lookup_node(Utopia::Path['/ordered/first']) \ No newline at end of file