Module: RSpec::Rails::Matchers::RenderTemplate
- Included in:
- ControllerExampleGroup, RequestExampleGroup, ViewExampleGroup
- Defined in:
- lib/rspec/rails/matchers/render_template.rb
Defined Under Namespace
Classes: RenderTemplateMatcher
Instance Method Summary collapse
-
#render_template(options, message = nil) ⇒ Object
Delegates to ‘assert_template`.
Instance Method Details
#render_template(options, message = nil) ⇒ Object
Delegates to ‘assert_template`
35 36 37 |
# File 'lib/rspec/rails/matchers/render_template.rb', line 35 def render_template(, =nil) RenderTemplateMatcher.new(self, , ) end |