Module: Blind

Extended by:
ActiveSupport::Concern
Defined in:
lib/blind.rb

Overview

This is an adapted version of RSpec::Rails::ViewRendering github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/view_rendering.rb#L27.

It encourages more isolated testing by not rendering views by default in controller tests. You can change the default behaviour using #render_views!.

Defined Under Namespace

Modules: ClassMethods, EmptyTemplates Classes: EmptyTemplatePathSetDecorator

Instance Attribute Summary collapse

Instance Attribute Details

#controllerObject

Returns the value of attribute controller.



13
14
15
# File 'lib/blind.rb', line 13

def controller
  @controller
end