test/base/test_item_rep.rb in nanoc-4.3.7 vs test/base/test_item_rep.rb in nanoc-4.3.8

- old
+ new

@@ -70,11 +70,11 @@ ) rep = Nanoc::Int::ItemRep.new(item, :donkeys) rep.expects(:compiled?).returns(false) # Check - assert_raises(Nanoc::Int::Errors::UnmetDependency) do + assert_raises(FiberError) do rep.compiled_content end end def test_compiled_content_with_moving_pre_snapshot @@ -88,10 +88,10 @@ pre: Nanoc::Int::TextualContent.new('pre!'), last: Nanoc::Int::TextualContent.new('last!'), } # Check - assert_raises(Nanoc::Int::Errors::UnmetDependency) do + assert_raises(FiberError) do rep.compiled_content(snapshot: :pre) end end def test_compiled_content_with_non_moving_pre_snapshot