Class: Test::Spec::Rails::Macros::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/test/spec/rails/macros.rb

Overview

Base class for all the proxy classes defined in the macros

Instance Attribute Summary collapse

Instance Method Summary collapse

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_caseObject

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