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

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

- (Object) render_template(options, message = nil)

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

Comments