spec/resources/controllers/controller_spec_controller.rb in dchelimsky-rspec-rails-1.1.99.9 vs spec/resources/controllers/controller_spec_controller.rb in dchelimsky-rspec-rails-1.1.99.13
- old
+ new
@@ -80,9 +80,13 @@
def action_with_skipped_before_filter
render :text => ""
end
+ def action_that_renders_inline
+ render :inline => "<%= 'inline code' %>"
+ end
+
def action_that_assigns_false_to_a_variable
@a_variable = false
render :text => ""
end
\ No newline at end of file