spec/page/bindings/each_binding_spec.rb in volt-0.9.4.pre3 vs spec/page/bindings/each_binding_spec.rb in volt-0.9.4.pre5

- old
+ new

@@ -40,14 +40,11 @@ 2 => [content_binding] } } } - page = double('volt/page') - expect(page).to receive(:templates).and_return(templates).at_least(1).times - volt_app = double('volt/app') - expect(volt_app).to receive(:page).and_return(page).at_least(1).times + expect(volt_app).to receive(:templates).and_return(templates).at_least(1).times Volt::TemplateRenderer.new(volt_app, dom, context, 'main', 'main/main') expect(dom.to_html).to eq('hello One, Two, ') \ No newline at end of file