spec/fdoc/presenters/base_presenter_spec.rb in fdoc-0.3.1 vs spec/fdoc/presenters/base_presenter_spec.rb in fdoc-0.3.2
- old
+ new
@@ -7,10 +7,10 @@
render_erb('test.html.erb')
end
end
subject {
- Fdoc::SamplePresenter.new template_directory: 'templates'
+ Fdoc::SamplePresenter.new :template_directory => 'templates'
}
context "#render_erb" do
it "renders a default template" do
File.should_receive(:exists?).with('templates/test.html.erb').and_return(false)