spec/nanoc/base/errors/dependency_cycle_spec.rb in nanoc-4.7.7 vs spec/nanoc/base/errors/dependency_cycle_spec.rb in nanoc-4.7.8
- old
+ new
@@ -19,13 +19,13 @@
it 'has an informative error message' do
expected = <<EOS
The site cannot be compiled because there is a dependency cycle:
- (1) item /b.md, rep :default, depends on
- (2) item /c.md, rep :default, depends on
- (3) item /d.md, rep :default, depends on
- (4) item /e.md, rep :default, depends on (1)
+ (1) item /e.md, rep :default, uses compiled content of
+ (2) item /d.md, rep :default, uses compiled content of
+ (3) item /c.md, rep :default, uses compiled content of
+ (4) item /b.md, rep :default, uses compiled content of (1)
EOS
expect(error.message).to eql(expected)
end
end