Class: Rspec::Rails23::Helpers::InstanceMethods::HelperObject

Inherits:
ActionView::Base
  • Object
show all
Defined in:
lib/rspec/rails23/helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#controller=(controller) ⇒ Object



30
31
32
# File 'lib/rspec/rails23/helpers.rb', line 30

def controller=(controller)
  @controller = controller
end

#flash=(flash) ⇒ Object



22
23
24
# File 'lib/rspec/rails23/helpers.rb', line 22

def flash=(flash)
  @flash = flash
end

#params=(params) ⇒ Object



26
27
28
# File 'lib/rspec/rails23/helpers.rb', line 26

def params=(params)
  @params = params
end

#request=(request) ⇒ Object



18
19
20
# File 'lib/rspec/rails23/helpers.rb', line 18

def request=(request)
  @request = request
end

#session=(session) ⇒ Object



14
15
16
# File 'lib/rspec/rails23/helpers.rb', line 14

def session=(session)
  @session = session
end

Instance Method Details

#protect_against_forgery?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/rspec/rails23/helpers.rb', line 10

def protect_against_forgery?
  false
end