Method: RSpec::Rails::Matchers::RenderTemplate#render_template

Defined in:
lib/rspec/rails/matchers/render_template.rb

#render_template(options, message = nil) ⇒ Object

Delegates to ‘assert_template`

Examples:


response.should render_template("new")


35
36
37
# File 'lib/rspec/rails/matchers/render_template.rb', line 35

def render_template(options, message=nil)
  RenderTemplateMatcher.new(self, options, message)
end