search for: the_valu

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

Did you mean: the_value
2007 Aug 18
0
Tests for render when changing view_paths
...get different errors each time. the closest I''ve managed to get so far is: it "should 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...