Module: RSpec::Rails::ViewRendering::ClassMethods
- Defined in:
- lib/rspec/rails/view_rendering.rb
Instance Method Summary collapse
- #integrate_views ⇒ Object
- #metadata_for_rspec_rails ⇒ Object
-
#render_views ⇒ Object
See RSpec::Rails::ControllerExampleGroup.
- #render_views? ⇒ Boolean
Instance Method Details
#integrate_views ⇒ Object
18 19 20 21 |
# File 'lib/rspec/rails/view_rendering.rb', line 18 def integrate_views RSpec.deprecate("integrate_views","render_views") render_views end |
#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
23 24 25 |
# File 'lib/rspec/rails/view_rendering.rb', line 23 def render_views? !![:render_views] end |