module RSpec::Rails::Matchers::RenderTemplate

Public Instance Methods

render_template(options, message=nil) click to toggle source

Delegates to `assert_template`

@example

response.should render_template("new")
# File lib/rspec/rails/matchers/render_template.rb, line 35
def render_template(options, message=nil)
  RenderTemplateMatcher.new(self, options, message)
end