test/unit/layout/test_base.rb in thinreports-0.7.6 vs test/unit/layout/test_base.rb in thinreports-0.7.7
- old
+ new
@@ -78,10 +78,10 @@
parent = flexmock('parent')
layout = init_layout
# Should call ThinReports::Core::Page#new with parent and layout.
flexmock(ThinReports::Core::Page).
- should_receive(:new).with(parent, layout).once
+ should_receive(:new).with(parent, layout, {}).once
layout.init_new_page(parent)
end
def init_layout(options = {})
\ No newline at end of file