Module: RSpec::Rails::ViewRendering::ClassMethods

Defined in:
lib/rspec/rails/view_rendering.rb

Instance Method Summary collapse

Instance Method Details

#metadata_for_rspec_railsObject



9
10
11
# File 'lib/rspec/rails/view_rendering.rb', line 9

def 
  [:rspec_rails] ||= {}
end

#render_viewsObject

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

Returns:

  • (Boolean)


18
19
20
# File 'lib/rspec/rails/view_rendering.rb', line 18

def render_views?
  !![:render_views]
end