search for: template_locals

Displaying 4 results from an estimated 4 matches for "template_locals".

2017 Jan 04
2
Amavis on Centosl help
I'm moving from Ubuntu to CentOS 7 Previously, on Ubuntu, installing amavisd would lead to etc/amavis/conf.d that contained: 01-debian 05-domain_id 05-node_id 15-av_scanners 15-content_filter_mode 20-debian_defaults 21-ubuntu_defaults 25-amavis_helpers 30-template_localization 40-policy_banks 50-user However installing amavisd on centos leads to a spaghetti config file (i.e.
2017 Jan 04
0
Amavis on Centosl help
I'm forwarding the answer from my colleague: release notes: - provide two new subroutines available for calling from config files: include_config_files() and include_optional_config_files(), each take a list of filenames as arguments, and reads & evaluates them just like normal configuration files specified on a command line (option -c or a default amavisd.conf). This provides a
2008 Sep 24
0
Rspec, HAML, view testing
Hi all, Has anybody experience the following problem running testing rspec against haml views Attempting to run a view spec app/view/users/_foo.html.haml it "should render it" do render :partial => "users/foo", :locals => template_locals end 1) ActionView::MissingTemplate in ''shared/_jar_layout should render it'' Missing templatet users/_foo.html.erb in view path .... /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/template.rb:85:in `raise_missing_template_exception'' I have tried stubbin...
2008 Sep 25
0
Rspec, HAML with view testing
Hi all, Has anyone experienced the following problem testing rspec against haml views Attempting to run a view spec (partial) app/view/users/_foo.html.haml it "should render it" do render :partial => "users/foo", :locals => template_locals end The following error is returned: 1) ActionView::MissingTemplate in ''shared/_jar_layout should render it'' Missing templatet users/_foo.html.erb in view path .... /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/ template.rb:85:in `raise_missing_template_exception...