Module: RSpec::Rails::ViewRendering::ClassMethods
- Defined in:
- lib/rspec/rails/view_rendering.rb
Instance Method Summary collapse
- #metadata_for_rspec_rails ⇒ Object
-
#render_views ⇒ Object
See RSpec::Rails::ControllerExampleGroup.
- #render_views? ⇒ Boolean
Instance Method Details
#metadata_for_rspec_rails ⇒ Object
9 10 11 |
# File 'lib/rspec/rails/view_rendering.rb', line 9 def [:rspec_rails] ||= {} end |
#render_views ⇒ Object
See RSpec::Rails::ControllerExampleGroup
14 15 16 |
# File 'lib/rspec/rails/view_rendering.rb', line 14 def render_views [:render_views] = true end |
#render_views? ⇒ Boolean
18 19 20 |
# File 'lib/rspec/rails/view_rendering.rb', line 18 def render_views? !![:render_views] end |