spec/nanoc/regressions/gh_767_spec.rb in nanoc-4.8.9 vs spec/nanoc/regressions/gh_767_spec.rb in nanoc-4.8.10
- old
+ new
@@ -14,8 +14,8 @@
EOS
end
it 'does not expose #path on @item' do
site = Nanoc::Int::SiteLoader.new.new_from_cwd
- expect { site.compile }.to raise_error(NoMethodError, /undefined method .*path.* for .*Nanoc::ItemWithoutRepsView/)
+ expect { site.compile }.to raise_error(NoMethodError, /undefined method .*path.* for .*Nanoc::BasicItemView/)
end
end