search for: original_path

Displaying 1 result from an estimated 1 matches for "original_path".

Did you mean: original_paths
2007 Aug 18
0
Tests for render when changing view_paths
...ould render a partial from a path in the supplied view_paths and leave view_paths the same afterwards" do options = {:partial => ''application/pod'', :locals => {:the_value => "sent value"}, :layout => ''application/layout'' } original_paths = ["/path/to/rails_app/app/views"] extra_paths = ["/path/to/rails_app/spec/views"] all_paths = original_paths + extra_paths self.should_receive(:view_paths).and_return(original_paths, original_paths, all_paths) self.should_receive(:view_paths=).with(all_pa...