spec/nullinput_spec.rb in hx-0.7.4 vs spec/nullinput_spec.rb in hx-0.8.2
- old
+ new
@@ -6,14 +6,14 @@
before(:each) do
@null_source = Hx::NullInput.new
end
it "should return itself from each_entry" do
- @null_source.each_entry {}.should == @null_source
+ @null_source.each_entry(Hx::Path::ALL) {}.should == @null_source
end
it "enumerates no entry paths" do
- @null_source.each_entry do |path, entry|
+ @null_source.each_entry(Hx::Path::ALL) do |path, entry|
raise RuntimeError("No entries")
end
end
end