Displaying 1 result from an estimated 1 matches for "with_controller".
2007 Jun 12
3
rspec 1.0.x and liquid?
...rollers/buyer_controller_spec.rb:63:
should render_template is looking for
11: def matches?(response)
12: @actual = response.rendered_file(!expected.include?(''/''))
13: actual == expected
14: end
TestResponse.rendered_file looks like
208: def rendered_file(with_controller=false)
209: unless template.first_render.nil?
210: unless with_controller
211: template.first_render
so TestResponse is missing ''template''. Any clues?
Courtenay
http://blog.caboo.se
http://entp.com