Module: Test::Spec::Rails::ResponseHelpers
- Defined in:
- lib/test/spec/rails/response_helpers.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
Instance Attribute Details
#response ⇒ Object (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
#layout ⇒ Object
32 33 34 |
# File 'lib/test/spec/rails/response_helpers.rb', line 32 def layout Test::Spec::Rails::Layout.new(self) end |
#status ⇒ Object
24 25 26 |
# File 'lib/test/spec/rails/response_helpers.rb', line 24 def status Test::Spec::Rails::Status.new(self) end |
#template ⇒ Object
28 29 30 |
# File 'lib/test/spec/rails/response_helpers.rb', line 28 def template Test::Spec::Rails::Template.new(self) end |