search for: samplescontroller

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

2007 May 28
1
Rails matcher render_template is wrong when using GetText, looking for flexible solution
I have a problem with a mismatch between RSpec Rails and the actual behavior when using GetText, and would be glad for suggestions how to best solve this. When using GetText a failure is reported for the following simplified specification: describe SamplesController, "when requesting /samples" do it "should render index " do get ''index'' response.should render_template("index") end end The result is: SamplesController when requesting /samples - should render index (FAILED - 1) 1) ''SamplesCo...