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.



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

def response
  @response
end

Instance Method Details

#layoutObject



34
35
36
# File 'lib/test/spec/rails/response_helpers.rb', line 34

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

#statusObject



26
27
28
# File 'lib/test/spec/rails/response_helpers.rb', line 26

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

#templateObject



30
31
32
# File 'lib/test/spec/rails/response_helpers.rb', line 30

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