Class: Test::Spec::Rails::Macros::Proxy
- Inherits:
-
Object
- Object
- Test::Spec::Rails::Macros::Proxy
- Defined in:
- lib/test/spec/rails/macros.rb
Overview
Base class for all the proxy classes defined in the macros
Direct Known Subclasses
Authorization::TestGenerator, Response::TestGenerator, Should
Instance Attribute Summary collapse
-
#test_case ⇒ Object
Returns the value of attribute test_case.
Instance Method Summary collapse
-
#initialize(test_case) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(test_case) ⇒ Proxy
Returns a new instance of Proxy.
7 8 9 |
# File 'lib/test/spec/rails/macros.rb', line 7 def initialize(test_case) self.test_case = test_case end |
Instance Attribute Details
#test_case ⇒ Object
Returns the value of attribute test_case.
5 6 7 |
# File 'lib/test/spec/rails/macros.rb', line 5 def test_case @test_case end |