describe 'GH-954', site: true, stdio: true do before do File.write('content/foo.md', 'foo root') File.write('content/bar.md', 'bar root') File.write('content/bar-copy.md', '<%= @items["/bar.*"].compiled_content(snapshot: :last) %>') File.write('Rules', <root') # Path is not relativized expect(File.read('output/bar-copy.html')).to eq('bar root') end end