search for: has_rjs

Displaying 2 results from an estimated 2 matches for "has_rjs".

Did you mean: has_ret
2006 Nov 30
4
response is null when using should_render_rjs
...9;stuff'' get ''change_ad_type_form'' end which result is the following: 1) NoMethodError in ''When creating a new ad, the ad_controller should return Text subform on AJAX request to change_ad_type_form'' nil does not respond to `rjs'' or `has_rjs?'' /Users/lasto/clients/ibc/project_n/vendor/plugins/rspec/lib/spec/ rails/render_matcher.rb:61:in `should_render_rjs'' /Users/lasto/clients/ibc/project_n/vendor/plugins/rspec/lib/spec/ rails/context/controller.rb:63:in `should_render_rjs'' ./spec/controllers/ad_controller...
2007 Feb 08
3
testing ajax responder actions
I have an Ajax responder method which uses respond_to to make sure it only works with Ajax. I''m having trouble figuring out how to call this action successfully. I''m using Rails 1.2.x. Any thoughts? -- Cheers, Kevin Williams http://www.almostserio.us/ "Any sufficiently advanced technology is indistinguishable from Magic." - Arthur C. Clarke