search for: buyer_controller_spec

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

2007 Jun 12
3
rspec 1.0.x and liquid?
...;'/buyer GET should render show'' You have a nil object when you didn''t expect it! The error occurred while evaluating nil.first_render /rails/store/trunk/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/render_template.rb:12:in `matches?'' spec/controllers/buyer_controller_spec.rb:57: spec/controllers/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:...