Module: RSpec::Rails::Matchers::RenderTemplate
- Included in:
- ControllerExampleGroup, RequestExampleGroup, ViewExampleGroup
- Defined in:
- lib/rspec/rails/matchers/have_rendered.rb
Overview
Matcher for template rendering.
Instance Method Summary (collapse)
-
- (Object) have_rendered(options, message = nil)
(also: #render_template)
Delegates to
assert_template
.
Instance Method Details
- (Object) have_rendered(options, message = nil) Also known as: render_template
Delegates to assert_template
.
36 37 38 |
# File 'lib/rspec/rails/matchers/have_rendered.rb', line 36 def have_rendered(, = nil) RenderTemplateMatcher.new(self, , ) end |