Module: Test::Spec::Rails::ResponseHelpers

Defined in:
lib/test/spec/rails/response_helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response


22
23
24
# File 'lib/test/spec/rails/response_helpers.rb', line 22

def response
  @response
end

Instance Method Details

#layoutObject


32
33
34
# File 'lib/test/spec/rails/response_helpers.rb', line 32

def layout
  Test::Spec::Rails::Layout.new(self)
end

#statusObject


24
25
26
# File 'lib/test/spec/rails/response_helpers.rb', line 24

def status
  Test::Spec::Rails::Status.new(self)
end

#templateObject


28
29
30
# File 'lib/test/spec/rails/response_helpers.rb', line 28

def template
  Test::Spec::Rails::Template.new(self)
end